diff options
author | Frederic Riss <friss@apple.com> | 2019-04-26 21:16:15 +0000 |
---|---|---|
committer | Frederic Riss <friss@apple.com> | 2019-04-26 21:16:15 +0000 |
commit | fad0aa1e3a1c03c6d982803861841bfbc9d81443 (patch) | |
tree | b096144749e8e0db1c847a6e88a7574b269c6500 | |
parent | 18b0c40bc5dbaf25157a838701b2aba8ba8440db (diff) | |
download | bcm5719-llvm-fad0aa1e3a1c03c6d982803861841bfbc9d81443.tar.gz bcm5719-llvm-fad0aa1e3a1c03c6d982803861841bfbc9d81443.zip |
Pass explicit C++ version to test
stop-hook-threads.cpp uses C++11 features, so ask for C++11 explicitely.
This isn't broken on mainstream because clang defaults to a newer C++
version now, but it breaks if testing against an older compiler.
llvm-svn: 359349
-rw-r--r-- | lldb/lit/ExecControl/StopHook/stop-hook-threads.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/lit/ExecControl/StopHook/stop-hook-threads.test b/lldb/lit/ExecControl/StopHook/stop-hook-threads.test index a90bcff8ce4..edb95ffc25e 100644 --- a/lldb/lit/ExecControl/StopHook/stop-hook-threads.test +++ b/lldb/lit/ExecControl/StopHook/stop-hook-threads.test @@ -1,4 +1,4 @@ -# RUN: %clangxx %p/Inputs/stop-hook-threads.cpp -g -o %t +# RUN: %clangxx -std=c++11 %p/Inputs/stop-hook-threads.cpp -g -o %t # RUN: %lldb -b -s %p/Inputs/stop-hook-threads-1.lldbinit -s %s -f %t \ # RUN: | FileCheck --check-prefix=CHECK --check-prefix=CHECK-NO-FILTER %s # RUN: %lldb -b -s %p/Inputs/stop-hook-threads-2.lldbinit -s %s -f %t \ |