[compiler-rt] 0917062 - [lsan][lsan] Use --std=c++14 to fix Windows test
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Mar 22 21:43:18 PDT 2021
Author: Vitaly Buka
Date: 2021-03-22T21:43:07-07:00
New Revision: 091706269cea817f62447afa83a8d34284916679
URL: https://github.com/llvm/llvm-project/commit/091706269cea817f62447afa83a8d34284916679
DIFF: https://github.com/llvm/llvm-project/commit/091706269cea817f62447afa83a8d34284916679.diff
LOG: [lsan][lsan] Use --std=c++14 to fix Windows test
Added:
Modified:
compiler-rt/test/asan/TestCases/asan_update_allocation.cpp
compiler-rt/test/asan/TestCases/lsan_crash.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/asan/TestCases/asan_update_allocation.cpp b/compiler-rt/test/asan/TestCases/asan_update_allocation.cpp
index 988a4f49f00e8..f6b54373af6f7 100644
--- a/compiler-rt/test/asan/TestCases/asan_update_allocation.cpp
+++ b/compiler-rt/test/asan/TestCases/asan_update_allocation.cpp
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -O0 %s --std=c++11 -o %t
+// RUN: %clangxx_asan -O0 %s --std=c++14 -o %t
// RUN: not %run %t 10 0 2>&1 | FileCheck %s --check-prefixes=CHECK,T0
// RUN: not %run %t 10000000 0 2>&1 | FileCheck %s --check-prefixes=CHECK,T0
diff --git a/compiler-rt/test/asan/TestCases/lsan_crash.cpp b/compiler-rt/test/asan/TestCases/lsan_crash.cpp
index 09eddfde13739..8ea9e74c8cb25 100644
--- a/compiler-rt/test/asan/TestCases/lsan_crash.cpp
+++ b/compiler-rt/test/asan/TestCases/lsan_crash.cpp
@@ -1,4 +1,4 @@
-// RUN: %clangxx_asan -O2 %s --std=c++11 -o %t && %run %t
+// RUN: %clangxx_asan -O2 %s --std=c++14 -o %t && %run %t
#include <atomic>
#include <memory>
More information about the llvm-commits
mailing list