llvm-project/lld/MachO
Nico Weber 57ffbe020a glld/mac] Don't add names of unreferenced symbols to string table
Before this, a hello world program would contain many many unnecessary
entries in its string table.

No behavior change, just makes the string table in the output smaller
and more like ld64's.

Differential Revision: https://reviews.llvm.org/D93711
2020-12-22 15:52:33 -05:00
..
Arch [lld-macho][nfc] Refactor to accommodate paired relocs 2020-12-17 20:21:41 -08:00
CMakeLists.txt [lld-macho] Add dependency to DebugInfoDWARF 2020-12-01 19:10:46 -08:00
Config.h [lld-macho] Implement option: -undefined TREATMENT 2020-12-17 17:40:50 -08:00
Driver.cpp [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
Driver.h [lld-macho] Don't load dylibs more than once 2020-12-10 15:57:52 -08:00
DriverUtils.cpp lld: Replace some lld::outs()s with message() 2020-12-17 16:19:09 -05:00
Dwarf.cpp [lld-macho] Don't attempt to emit rebase opcodes for debug sections 2020-12-10 15:57:51 -08:00
Dwarf.h [lld-macho] Emit STABS symbols for debugging, and drop debug sections 2020-12-01 15:05:20 -08:00
ExportTrie.cpp [lld-macho] Support absolute symbols 2020-09-25 11:28:35 -07:00
ExportTrie.h [lld-macho] Export trie addresses should be relative to the image base 2020-09-20 20:43:15 -07:00
InputFiles.cpp [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
InputFiles.h [lld-macho] Use LC_LOAD_WEAK_DYLIB for dylibs with only weakrefs 2020-12-17 08:49:17 -05:00
InputSection.cpp [lld-macho][nfc] Move some methods from InputFile to ObjFile 2020-12-08 10:34:32 -08:00
InputSection.h [lld-macho][nfc] Move some methods from InputFile to ObjFile 2020-12-08 10:34:32 -08:00
LTO.cpp [lld-macho] Add support for -mcpu, -mattr, -code-model in LTO 2020-12-10 15:57:51 -08:00
LTO.h [lld-macho] Add very basic support for LTO 2020-11-10 12:19:28 -08:00
MachOStructs.h [lld-macho] Ensure reads from nlist_64 structs are aligned when necessary 2020-06-02 13:19:38 -07:00
MergedOutputSection.cpp [lld-macho] Handle alignment correctly when merging InputSections 2020-06-17 20:41:28 -07:00
MergedOutputSection.h [lld-macho] Refactor segment/section creation, sorting, and merging 2020-06-21 17:13:59 -07:00
ObjC.cpp [lld-macho] Implement -ObjC 2020-08-26 19:20:55 -07:00
ObjC.h [lld-macho] Implement -ObjC 2020-08-26 19:20:55 -07:00
Options.td [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
OutputSection.cpp [lld-macho] Refactor segment/section creation, sorting, and merging 2020-06-21 17:13:59 -07:00
OutputSection.h [lld-macho] Emit indirect symbol table 2020-09-23 19:26:40 -07:00
OutputSegment.cpp [lld-macho][easy] Fix segment max protection 2020-11-10 12:19:28 -08:00
OutputSegment.h [lld-macho] Emit STABS symbols for debugging, and drop debug sections 2020-12-01 15:05:20 -08:00
SymbolTable.cpp [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
SymbolTable.h [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
Symbols.cpp [lld/mac] Fix issues around thin archives 2020-12-01 18:48:29 -05:00
Symbols.h [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
SyntheticSections.cpp glld/mac] Don't add names of unreferenced symbols to string table 2020-12-22 15:52:33 -05:00
SyntheticSections.h [lld/mac] Implement support for private extern symbols 2020-12-21 21:23:33 -05:00
Target.cpp Reland D75382 "[lld] Initial commit for new Mach-O backend" 2020-04-02 12:03:43 -07:00
Target.h [lld-macho][nfc] Refactor to accommodate paired relocs 2020-12-17 20:21:41 -08:00
UnwindInfoSection.cpp [lld-macho] Fix memcpy ub after D93267 2020-12-20 20:01:20 -08:00
UnwindInfoSection.h Handle overflow beyond the 127 common encodings limit 2020-12-19 14:54:37 -08:00
Writer.cpp [lld-macho] Have order files support filtering by archive member paths 2020-12-20 13:49:18 -05:00
Writer.h [lld-macho] Extend SyntheticSections to cover all segment load commands 2020-04-27 12:58:12 -07:00