llvm-project/lld/lib
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
..
Core [CMake] Make `intrinsics_gen` dependency unconditional. 2020-07-17 16:43:17 -07:00
Driver [LLD][COFF] Cover usage of LLD-as-a-library in tests 2020-09-24 15:07:50 -04:00
ReaderWriter ld64.lld: Make janky support for tbd files actually work sometimes 2020-07-02 15:31:21 -04:00
CMakeLists.txt Move new lld's code to Common subdirectory. 2017-10-02 21:00:41 +00:00