diff options
author | Ilya Biryukov <ibiryukov@google.com> | 2019-01-16 13:18:59 +0000 |
---|---|---|
committer | Ilya Biryukov <ibiryukov@google.com> | 2019-01-16 13:18:59 +0000 |
commit | 50fe70d35d281e1698d38b68579488c2ed5c1645 (patch) | |
tree | d931f59acd29c79b4279bcd5b168486be7d8b930 | |
parent | 274b901108a4ab4c38bdf94c46d44fac8b6e2ff7 (diff) |
Set '-target' flag in the test checking the MacOS include dirlinaro-local/ci/tcwg_kernel/llvm-master-arm-mainline-allmodconfig
To fix a buildbot failure on PS4, see
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/42251
The test was added in r351222 and aims to check only a particular
Mac configuration. However it relied on the default compiler target
by default, therefore unintentionally failing on PS4.
-rw-r--r-- | clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp b/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp index 035155c96c9..fd0003e9b38 100644 --- a/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp +++ b/clang/test/Tooling/clang-check-mac-libcxx-fixed-compilation-db.cpp @@ -10,7 +10,7 @@ // // RUN: cp $(which clang-check) %t/mock-libcxx/bin/ // RUN: cp "%s" "%t/test.cpp" -// RUN: %t/mock-libcxx/bin/clang-check -p "%t" "%t/test.cpp" -- -stdlib=libc++ +// RUN: %t/mock-libcxx/bin/clang-check -p "%t" "%t/test.cpp" -- -stdlib=libc++ -target x86_64-apple-darwin #include <mock_vector> vector v; |