llvm/lld/MachO
Jez Ng da6b6b3c82 [lld-macho][nfc] Factor out findSymbolAtOffset
Our compact unwind handling code currently has some logic to locate a
symbol at a given offset in an InputSection. The EH frame code will need
to do something similar, so let's factor out the code.

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D123301
2022-04-07 09:13:39 -04:00
..
Arch [lld-macho][nfc] Allow Defined symbols to be placed in binding sections 2022-03-14 22:18:32 -04:00
CMakeLists.txt
ConcatOutputSection.cpp [lld/mac] Tweak a few comments 2022-04-01 19:32:07 -04:00
ConcatOutputSection.h
Config.h [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
Driver.cpp [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
Driver.h
DriverUtils.cpp
Dwarf.cpp
Dwarf.h
ExportTrie.cpp Reland "[lld-macho] Avoid using bump-alloc in TrieBuider"" 2022-03-14 19:33:13 -04:00
ExportTrie.h Reland "[lld-macho] Avoid using bump-alloc in TrieBuider"" 2022-03-14 19:33:13 -04:00
ICF.cpp [lld-macho] Don't allocate memory in parallelForEach 2022-03-11 13:32:24 -05:00
ICF.h
InputFiles.cpp [lld-macho][nfc] Factor out findSymbolAtOffset 2022-04-07 09:13:39 -04:00
InputFiles.h [lld-macho][nfc] Have findContainingSubsection take a Section 2022-03-21 07:23:09 -04:00
InputSection.cpp [lld/mac] Don't emit stabs entries for functions folded during ICF 2022-04-07 08:09:32 -04:00
InputSection.h [lld-macho] Deduplicate the __objc_classrefs section contents 2022-03-08 08:34:04 -05:00
ld64-vs-lld.rst [lld-macho][nfc] Fix formatting in ld64-vs-lld.rst 2022-03-10 18:33:18 -05:00
LTO.cpp [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
LTO.h
MachOStructs.h
MapFile.cpp
MapFile.h
MarkLive.cpp [lld-macho][nfc] Add comment explaining why a cast<> is safe 2022-03-21 07:23:09 -04:00
MarkLive.h
ObjC.cpp
ObjC.h
Options.td [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
OutputSection.cpp
OutputSection.h
OutputSegment.cpp
OutputSegment.h
Relocations.cpp
Relocations.h
SectionPriorities.cpp [lld-macho][NFC] Encapsulate symbol priority implementation. 2022-03-31 13:47:38 -04:00
SectionPriorities.h [lld-macho][NFC] Encapsulate symbol priority implementation. 2022-03-31 13:47:38 -04:00
Symbols.cpp [lld/mac] Don't emit stabs entries for functions folded during ICF 2022-04-07 08:09:32 -04:00
Symbols.h [lld/mac] Don't emit stabs entries for functions folded during ICF 2022-04-07 08:09:32 -04:00
SymbolTable.cpp [lld-macho] -flat_namespace for dylibs should make all externs interposable 2022-03-14 22:18:32 -04:00
SymbolTable.h
SyntheticSections.cpp [lld/mac] Don't emit stabs entries for functions folded during ICF 2022-04-07 08:09:32 -04:00
SyntheticSections.h [lld-macho][nfc] Allow Defined symbols to be placed in binding sections 2022-03-14 22:18:32 -04:00
Target.cpp
Target.h [lld-macho][nfc] Allow Defined symbols to be placed in binding sections 2022-03-14 22:18:32 -04:00
UnwindInfoSection.cpp
UnwindInfoSection.h
Writer.cpp Add output filename to UUID hash 2022-03-31 18:50:05 -04:00
Writer.h