From: Frederic Riss Date: Fri, 26 Apr 2019 21:16:15 +0000 (+0000) Subject: Pass explicit C++ version to test X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fad0aa1e3a1c03c6d982803861841bfbc9d81443;p=platform%2Fupstream%2Fllvm.git 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 --- diff --git a/lldb/lit/ExecControl/StopHook/stop-hook-threads.test b/lldb/lit/ExecControl/StopHook/stop-hook-threads.test index a90bcff..edb95ff 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 \