[all-commits] [llvm/llvm-project] 8dc438: [Driver] Accept -fno-lto in clang-cl
aeubanks via All-commits
all-commits at lists.llvm.org
Wed Aug 5 12:24:56 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 8dc43852e4a8a5c6680d52aa6e73a75aef5a5954
https://github.com/llvm/llvm-project/commit/8dc43852e4a8a5c6680d52aa6e73a75aef5a5954
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2020-08-05 (Wed, 05 Aug 2020)
Changed paths:
M clang/include/clang/Driver/Options.td
M clang/test/Driver/cl-options.c
Log Message:
-----------
[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
More information about the All-commits
mailing list