llvm-project/lld/MachO
Alexandre Ganea f2efb5742c [LLD][COFF] Cover usage of LLD-as-a-library in tests
In lit tests, we run each LLD invocation twice (LLD_IN_TEST=2), without shutting down the process in-between. This ensures a full cleanup is properly done between runs.
Only active for the COFF driver for now. Other drivers still use LLD_IN_TEST=1 which executes just one iteration with full cleanup, like before.
When the environment variable LLD_IN_TEST is unset, a shortcut is taken, only one iteration is executed, no cleanup for faster exit, like before.
A public API, lld::safeLldMain(), is also available when using LLD as a library.

Differential Revision: https://reviews.llvm.org/D70378
2020-09-24 15:07:50 -04:00
..
Arch [lld-macho] Weak locals should be relaxed too 2020-08-27 17:44:17 -07:00
CMakeLists.txt [lld-macho] create __TEXT,__unwind_info from __LD,__compact_unwind 2020-09-18 22:01:03 -07:00
Config.h [lld-macho] handle options -search_paths_first, -search_dylibs_first 2020-09-23 14:56:33 -07:00
Driver.cpp [LLD][COFF] Cover usage of LLD-as-a-library in tests 2020-09-24 15:07:50 -04:00
Driver.h [lld-macho] Specify the complete set of command-line options for ld64 2020-06-15 12:50:20 -07:00
DriverUtils.cpp [lld-macho] Handle TAPI and regular re-exports uniformly 2020-08-26 19:20:48 -07:00
DriverUtils.h [lld-macho] Handle TAPI and regular re-exports uniformly 2020-08-26 19:20:48 -07:00
ExportTrie.cpp [lld-macho] Export trie addresses should be relative to the image base 2020-09-20 20:43:15 -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 Revert "[lld-macho] Initial support for common symbols" 2020-09-24 12:26:40 +05:00
InputFiles.h [lld-macho] Support -weak_lx, -weak_library, -weak_framework 2020-09-23 19:26:41 -07:00
InputSection.cpp [lld-macho] In the context of relocs, s/target/referent/ for sections & symbols 2020-09-22 20:31:01 -07:00
InputSection.h [lld-macho] In the context of relocs, s/target/referent/ for sections & symbols 2020-09-22 20:31:01 -07: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-macho] Support -weak_lx, -weak_library, -weak_framework 2020-09-23 19:26:41 -07: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][NFC] Make `!= nullptr` implicit 2020-09-23 20:09:49 -07:00
OutputSegment.h [lld-macho] create __TEXT,__unwind_info from __LD,__compact_unwind 2020-09-18 22:01:03 -07:00
SymbolTable.cpp Revert "[lld-macho] Initial support for common symbols" 2020-09-24 12:26:40 +05:00
SymbolTable.h Revert "[lld-macho] Initial support for common symbols" 2020-09-24 12:26:40 +05:00
Symbols.cpp [lld-macho] Support __dso_handle for C++ 2020-07-30 14:28:41 -07:00
Symbols.h Revert "[lld-macho] Initial support for common symbols" 2020-09-24 12:26:40 +05:00
SyntheticSections.cpp [lld-macho] Emit indirect symbol table 2020-09-23 19:26:40 -07:00
SyntheticSections.h Revert "[lld-macho] Initial support for common symbols" 2020-09-24 12:26:40 +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] Implement weak binding for branch relocations 2020-08-27 17:44:15 -07:00
UnwindInfoSection.cpp align __TEXT,__unwind_info to 8 byte boundary 2020-09-19 12:43:30 -07:00
UnwindInfoSection.h [lld-macho] create __TEXT,__unwind_info from __LD,__compact_unwind 2020-09-18 22:01:03 -07:00
Writer.cpp [lld-macho] Support -weak_lx, -weak_library, -weak_framework 2020-09-23 19:26:41 -07:00
Writer.h [lld-macho] Extend SyntheticSections to cover all segment load commands 2020-04-27 12:58:12 -07:00