diff options
author | Manoj Gupta <manojgupta@google.com> | 2021-02-25 16:28:30 -0800 |
---|---|---|
committer | Manoj Gupta <manojgupta@chromium.org> | 2021-02-26 00:51:56 +0000 |
commit | 412cb5e0bf4286f26726824faffb32b70d66f66b (patch) | |
tree | e98ed0af1c7bc0d88a304d7b6979b873bc71ff69 /compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json | |
parent | 720f951928a9b8011c6f5a2144e68d936e1a7afc (diff) | |
download | toolchain-utils-412cb5e0bf4286f26726824faffb32b70d66f66b.tar.gz |
compiler_wrapper: pass --prefix argument to clang
ToT clang needs --prefix is needed to find the correct tools.
BUG=chromium:1182224
TEST=Updated compiler wrapper in SimpleChrome, nacl builds.
Change-Id: I8073e1a5482a23f38bb1e0d88e2b31ee2d97fa6e
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2721199
Tested-by: Manoj Gupta <manojgupta@chromium.org>
Reviewed-by: George Burgess <gbiv@chromium.org>
Diffstat (limited to 'compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json')
-rw-r--r-- | compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json index e9b84703..183ed65a 100644 --- a/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json +++ b/compiler_wrapper/testdata/cros_nonhardened_golden/clang_maincc_target_specific.json @@ -28,6 +28,7 @@ "-fexperimental-new-pass-manager", "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", + "--prefix=../../bin/x86_64-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -75,6 +76,7 @@ "-fexperimental-new-pass-manager", "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", + "--prefix=../../bin/x86_64-cros-eabi-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -122,6 +124,7 @@ "-fexperimental-new-pass-manager", "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", + "--prefix=../../bin/x86_64-cros-win-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -170,6 +173,7 @@ "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-mthumb", + "--prefix=../../bin/armv7m-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -216,6 +220,7 @@ "-fexperimental-new-pass-manager", "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", + "--prefix=../../bin/armv7m-cros-eabi-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -263,6 +268,7 @@ "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-mthumb", + "--prefix=../../bin/armv7m-cros-win-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -310,6 +316,7 @@ "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-mthumb", + "--prefix=../../bin/armv8m-cros-linux-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -356,6 +363,7 @@ "-fexperimental-new-pass-manager", "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", + "--prefix=../../bin/armv8m-cros-eabi-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", @@ -403,6 +411,7 @@ "-Wno-compound-token-split-by-macro", "-fcrash-diagnostics-dir=/tmp/stable/clang_crash_diagnostics", "-mthumb", + "--prefix=../../bin/armv8m-cros-win-gnu-", "main.cc", "-Wno-implicit-int-float-conversion", "-Wno-compound-token-split-by-space", |