[compiler-rt] r277894 - Use %stdcxx11 instead of -std=c++11 so the test passes with VS 2015

Reid Kleckner via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 5 17:37:14 PDT 2016


Author: rnk
Date: Fri Aug  5 19:37:14 2016
New Revision: 277894

URL: http://llvm.org/viewvc/llvm-project?rev=277894&view=rev
Log:
Use %stdcxx11 instead of -std=c++11 so the test passes with VS 2015

Modified:
    compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc

Modified: compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc?rev=277894&r1=277893&r2=277894&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/coverage-pc-buffer.cc Fri Aug  5 19:37:14 2016
@@ -1,6 +1,6 @@
 // Test __sanitizer_coverage_pc_buffer().
 
-// RUN: %clangxx_asan -fsanitize-coverage=edge -std=c++11 %s -O3 -o %t && %run %t
+// RUN: %clangxx_asan -fsanitize-coverage=edge %stdcxx11 %s -O3 -o %t && %run %t
 
 // UNSUPPORTED: android
 




More information about the llvm-commits mailing list