From 412cb5e0bf4286f26726824faffb32b70d66f66b Mon Sep 17 00:00:00 2001 From: Manoj Gupta Date: Thu, 25 Feb 2021 16:28:30 -0800 Subject: 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 Reviewed-by: George Burgess --- compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json | 3 +++ 1 file changed, 3 insertions(+) (limited to 'compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json') diff --git a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json index 4be1995d..91ed0d69 100644 --- a/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json +++ b/compiler_wrapper/testdata/cros_nonhardened_golden/bisect.json @@ -38,6 +38,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", @@ -97,6 +98,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", @@ -159,6 +161,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", -- cgit v1.2.3