llvm-project/lld/MachO
Alex Brachet 190b0f42cf [lld-macho] Stop crash when emitting personalities with -dead_strip
The <internal> symbol was tripping an assertion in getVA() because it
was not marked as used. Per the comment above that symbols creation,
dead stripping has already occurred so marking this symbol as used is
accurate.

Fixes https://github.com/llvm/llvm-project/issues/55565

Differential revision: https://reviews.llvm.org/D126072
2022-05-20 21:40:47 +00:00
..
Arch [lld-macho][nfc] Allow Defined symbols to be placed in binding sections 2022-03-14 22:18:32 -04:00
CMakeLists.txt [lld-macho] Rename CallGraphSort.{h,cpp} to SectionPriorities 2022-01-25 12:15:14 -05:00
ConcatOutputSection.cpp [lld-macho] Remove stray debug printf 2022-04-22 22:17:24 -04:00
ConcatOutputSection.h [lld-macho][nfc] Give non-text ConcatOutputSections order-independent finalization 2022-04-07 18:13:27 -04:00
Config.h [lld/mac] Support writing zippered dylibs and bundles 2022-05-04 19:23:35 -04:00
Driver.cpp [lld-macho] Demangle symbol names in export-symbol error messages when -demangle is specified. 2022-05-16 19:48:03 -04:00
Driver.h [lld/mac] For catalyst outputs, tolerate implicitly linking against mac-only tbd files 2022-04-23 21:43:46 -04:00
DriverUtils.cpp [lld/mac] For catalyst outputs, tolerate implicitly linking against mac-only tbd files 2022-04-23 21:43:46 -04:00
Dwarf.cpp [lld-macho] Factor out common InputSection members 2021-07-01 21:22:39 -04:00
Dwarf.h [lld-macho] Emit STABS symbols for debugging, and drop debug sections 2020-12-01 15:05:20 -08:00
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] Implement safe icf for MachO 2022-05-03 21:01:03 -04:00
ICF.h [lld] Implement safe icf for MachO 2022-05-03 21:01:03 -04:00
InputFiles.cpp [lld] Implement safe icf for MachO 2022-05-03 21:01:03 -04:00
InputFiles.h [lld] Implement safe icf for MachO 2022-05-03 21:01:03 -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] Implement safe icf for MachO 2022-05-03 21:01:03 -04:00
LTO.cpp [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
LTO.h [lld-macho] Add LTO cache support 2021-07-15 12:56:13 -04:00
MachOStructs.h [lld-macho] Add support for arm64_32 2021-04-15 21:16:33 -04:00
MapFile.cpp Print C-string literals in mapfile 2022-02-11 19:42:20 -05:00
MapFile.h [lld-macho] implement options -map 2021-03-18 10:39:19 -04:00
MarkLive.cpp [lld-macho] Allow dead_strip to work with exported private extern symbols 2022-04-22 18:45:27 -07:00
MarkLive.h [lld/mac] Implement -dead_strip 2021-06-02 11:09:26 -04:00
ObjC.cpp [lld/macho] Fixes the -ObjC flag 2022-05-11 17:00:39 -07:00
ObjC.h [lld-macho] Implement -ObjC 2020-08-26 19:20:55 -07:00
Options.td [lld] Remove support for legacy pass manager 2022-04-07 10:17:31 +02:00
OutputSection.cpp [lld/mac] Implement support for section$start and section$ end symbols 2021-07-23 16:01:09 -04:00
OutputSection.h [lld-macho][nfc] Comments and style fixes 2022-02-01 13:45:59 -05:00
OutputSegment.cpp [MachO] Properly reset global state 2021-10-31 16:14:29 -07:00
OutputSegment.h [MachO] Properly reset global state 2021-10-31 16:14:29 -07:00
Relocations.cpp [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00
Relocations.h [lld-macho] Have relocation address included in range-check error message 2022-02-28 21:56:38 -05:00
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
SymbolTable.cpp [lld-macho][nfc] Use includeInSymtab for all symtab-skipping logic 2022-04-11 15:45:46 -04:00
SymbolTable.h [lld-macho] Add --start-lib --end-lib 2022-01-19 10:14:49 -08:00
Symbols.cpp [lld-macho][nfc] Use includeInSymtab for all symtab-skipping logic 2022-04-11 15:45:46 -04:00
Symbols.h [lld-macho][nfc] Use includeInSymtab for all symtab-skipping logic 2022-04-11 15:45:46 -04:00
SyntheticSections.cpp [lld-macho][nfc] Use includeInSymtab for all symtab-skipping logic 2022-04-11 15:45:46 -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 [lld-macho][nfc] Create Relocations.{h,cpp} for relocation-specific code 2021-03-11 13:28:09 -05:00
Target.h [lld-macho][nfc] Allow Defined symbols to be placed in binding sections 2022-03-14 22:18:32 -04:00
UnwindInfoSection.cpp [lld-macho] Stop crash when emitting personalities with -dead_strip 2022-05-20 21:40:47 +00:00
UnwindInfoSection.h [lld-macho][nfc] De-templatize UnwindInfoSection 2022-04-13 16:19:22 -04:00
Writer.cpp [lld/mac] Support writing zippered dylibs and bundles 2022-05-04 19:23:35 -04:00
Writer.h [MachO] Properly reset global state 2021-10-31 16:14:29 -07:00
ld64-vs-lld.rst [lld-macho][nfc] Fix formatting in ld64-vs-lld.rst 2022-03-10 18:33:18 -05:00