diff options
author | Arthur Eubanks <aeubanks@google.com> | 2020-08-04 14:34:51 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2020-08-05 12:24:10 -0700 |
commit | 8dc43852e4a8a5c6680d52aa6e73a75aef5a5954 (patch) | |
tree | e31c39955074ee0d2a1c2991b29b22da110ff624 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 83eaf5d55db34b380c33aff05a1790c95a8f06a4 (diff) | |
download | llvm-8dc43852e4a8a5c6680d52aa6e73a75aef5a5954.zip llvm-8dc43852e4a8a5c6680d52aa6e73a75aef5a5954.tar.gz llvm-8dc43852e4a8a5c6680d52aa6e73a75aef5a5954.tar.bz2 |
[Driver] Accept -fno-lto in clang-cl
Some compiler-rt tests check for the presence of the compiler accepting
-fno-lto to add that flag. Otherwise some tests don't link due to
-flto mismatch between compiling and linking.
$ cmake ... -DLLVM_ENABLE_LTO=Thin ...
$ ninja projects/compiler-rt/lib/sanitizer_common/tests/Sanitizer-x86_64-Test.exe
previously failed, now links.
Reviewed By: hans
Differential Revision: https://reviews.llvm.org/D85252
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions