diff options
author | Caroline Tice <cmtice@google.com> | 2019-10-28 09:48:18 -0700 |
---|---|---|
committer | Caroline Tice <cmtice@chromium.org> | 2019-10-29 22:22:32 +0000 |
commit | 8ac33e078ef1dd94b350fd4f81684ed6e3f272ec (patch) | |
tree | e38659e656012063539584711648abca1c2ca0c6 /compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json | |
parent | c0861360b744850a6dd48d0d7bfc7dd2c26dfb65 (diff) | |
download | toolchain-utils-8ac33e078ef1dd94b350fd4f81684ed6e3f272ec.tar.gz |
toolchain_utils: Add post-user flags to compiler_wrapper.
This adds the ability to add flags to the compiler command that
cannot be overridden by the user (e.g. when we MUST turn off a warning).
It adds '-Wno-implicit-int-float-conversion as such a flag for
llvm-next.
BUG=chromium:1018778
TEST='go test' passes
Change-Id: Ic57747be9719be83d3c5f7d7b4f4263f69f4de61
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/1881725
Reviewed-by: Tobias Bosch <tbosch@google.com>
Reviewed-by: George Burgess <gbiv@chromium.org>
Commit-Queue: Caroline Tice <cmtice@chromium.org>
Tested-by: Caroline Tice <cmtice@chromium.org>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json index 56b7b3ed..c1daaa88 100644 --- a/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json +++ b/compiler_wrapper/testdata/cros_hardened_llvmnext_golden/bisect.json @@ -37,7 +37,6 @@ "-fuse-ld=lld", "-Wno-reorder-init-list", "-Wno-final-dtor-non-final-class", - "-Wno-implicit-int-float-conversion", "-Wno-return-stack-address", "-Werror=poison-system-directories", "-fstack-protector-strong", @@ -46,6 +45,7 @@ "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", "main.cc", + "-Wno-implicit-int-float-conversion", "-B../../bin", "-target", "x86_64-cros-linux-gnu" @@ -99,7 +99,6 @@ "-fuse-ld=lld", "-Wno-reorder-init-list", "-Wno-final-dtor-non-final-class", - "-Wno-implicit-int-float-conversion", "-Wno-return-stack-address", "-Werror=poison-system-directories", "-fstack-protector-strong", @@ -108,6 +107,7 @@ "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", "main.cc", + "-Wno-implicit-int-float-conversion", "-B../../bin", "-target", "x86_64-cros-linux-gnu" @@ -164,7 +164,6 @@ "-fuse-ld=lld", "-Wno-reorder-init-list", "-Wno-final-dtor-non-final-class", - "-Wno-implicit-int-float-conversion", "-Wno-return-stack-address", "-Werror=poison-system-directories", "-fstack-protector-strong", @@ -173,6 +172,7 @@ "-D_FORTIFY_SOURCE=2", "-fno-omit-frame-pointer", "main.cc", + "-Wno-implicit-int-float-conversion", "-B../../bin", "-target", "x86_64-cros-linux-gnu" |