[compiler-rt] 9601085 - [NFC][asan] Remove -std=c++20 from test

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 7 22:37:03 PST 2021


Author: Vitaly Buka
Date: 2021-12-07T22:36:54-08:00
New Revision: 9601085bc5d99613015842170bbf0c7e9954e11d

URL: https://github.com/llvm/llvm-project/commit/9601085bc5d99613015842170bbf0c7e9954e11d
DIFF: https://github.com/llvm/llvm-project/commit/9601085bc5d99613015842170bbf0c7e9954e11d.diff

LOG: [NFC][asan] Remove -std=c++20 from test

Fails after D110215
with errors like
/usr/include/x86_64-linux-gnu/sys/types.h:33:9: error: unknown type name '__u_char'
typedef __u_char u_char;

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp b/compiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
index 7febc06519101..1a8b951590930 100644
--- a/compiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
+++ b/compiler-rt/test/asan/TestCases/Posix/unpoison-alternate-stack.cpp
@@ -3,7 +3,7 @@
 
 // Don't optimize, otherwise the variables which create redzones might be
 // dropped.
-// RUN: %clangxx_asan -std=c++20 -fexceptions -O0 %s -o %t -pthread
+// RUN: %clangxx_asan -fexceptions -O0 %s -o %t -pthread
 // RUN: %run %t
 
 #include <algorithm>


        


More information about the llvm-commits mailing list