diff options
author | Joachim Protze <protze@itc.rwth-aachen.de> | 2021-02-22 18:46:28 +0100 |
---|---|---|
committer | Joachim Protze <protze@itc.rwth-aachen.de> | 2021-02-22 18:49:02 +0100 |
commit | ed4230732adeb04a23fc25b7a5924e423ba5ac91 (patch) | |
tree | 64843a3d6dd296821786393d80e004ddca20324e /llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp | |
parent | 4125afc35723b490556f7a38f7835f0914f70292 (diff) | |
download | llvm-ed4230732adeb04a23fc25b7a5924e423ba5ac91.zip llvm-ed4230732adeb04a23fc25b7a5924e423ba5ac91.tar.gz llvm-ed4230732adeb04a23fc25b7a5924e423ba5ac91.tar.bz2 |
[sanitizers] Pass CMAKE_C_FLAGS into TSan buildgo script
When compiling with ccache, compiler commands get split into smaller steps
and clang's default -Wunused-command-line-argument complains about unused
include directory arguments. In combination -Werror, compilation aborts.
If CMAKE_C_FLAGS contains -Wno-unused-command-line-argument or
-Wno-error=unused-command-line-argument, the latter flag is passed into the
build script.
This is a re-commit. The previous version was reverted because of failing
tests.
Differential Revision: https://reviews.llvm.org/D96762
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeAnalyzer.cpp')
0 files changed, 0 insertions, 0 deletions