aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-09-24 15:00:43 -0400
committerAlexandre Ganea <alexandre.ganea@ubisoft.com>2020-09-24 15:07:50 -0400
commitf2efb5742cc9f74ad73987760651e3d23894a416 (patch)
tree14495dbbb4781db5f7c6e93cfe4e40d3d6c4f2e9 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent55624237be725a6feef84db7f46147335e68ebab (diff)
downloadllvm-f2efb5742cc9f74ad73987760651e3d23894a416.zip
llvm-f2efb5742cc9f74ad73987760651e3d23894a416.tar.gz
llvm-f2efb5742cc9f74ad73987760651e3d23894a416.tar.bz2
[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
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions