[PATCH] D12939: [compiler-rt] [sanitizer] Clean buildbot failures for aarch64
Adhemerval Zanella via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 17 12:15:25 PDT 2015
zatrazz updated this revision to Diff 35025.
zatrazz added a comment.
This should take care of remaining msan issues on aarch64 buildbots.
http://reviews.llvm.org/D12939
Files:
test/ubsan/TestCases/Misc/nonnull-arg.cpp
test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
test/ubsan/lit.common.cfg
Index: test/ubsan/lit.common.cfg
===================================================================
--- test/ubsan/lit.common.cfg
+++ test/ubsan/lit.common.cfg
@@ -75,7 +75,7 @@
# Allow tests to use REQUIRES=stable-runtime. For use when you cannot use XFAIL
# because the test hangs or fails on one configuration and not the other.
-if config.target_arch.startswith('arm') == False:
+if config.target_arch.startswith('arm') == False and config.target_arch != 'aarch64':
config.available_features.add('stable-runtime')
if config.host_os == 'Linux' and config.target_arch != 'powerpc64' and \
Index: test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
===================================================================
--- test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
+++ test/ubsan/TestCases/TypeCheck/vptr-virtual-base.cpp
@@ -1,7 +1,7 @@
// RUN: %clangxx -frtti -fsanitize=vptr -fno-sanitize-recover=vptr -g %s -O3 -o %t
// RUN: not %run %t 2>&1 | FileCheck %s
-// REQUIRES: cxxabi
+// REQUIRES: stable-runtime, cxxabi
struct S { virtual int f() { return 0; } };
struct T : virtual S {};
Index: test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
===================================================================
--- test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
+++ test/ubsan/TestCases/TypeCheck/vptr-virtual-base-construction.cpp
@@ -1,7 +1,7 @@
// RUN: %clangxx -frtti -fsanitize=vptr -fno-sanitize-recover=vptr %s -o %t
// RUN: %run %t
-// REQUIRES: cxxabi
+// REQUIRES: stable-runtime, cxxabi
int volatile n;
Index: test/ubsan/TestCases/Misc/nonnull-arg.cpp
===================================================================
--- test/ubsan/TestCases/Misc/nonnull-arg.cpp
+++ test/ubsan/TestCases/Misc/nonnull-arg.cpp
@@ -8,8 +8,8 @@
// RUN: not %run %t 0f 2>&1 | FileCheck %s --check-prefix=FUNC
// RUN: not %run %t 0v 2>&1 | FileCheck %s --check-prefix=VARIADIC
//
-// AArch64 lacks var args instrumentation.
-// XFAIL: aarch64
+// AArch64 lacks variadic instrumentation for MSAN.
+// REQUIRES: stable-runtime
class C {
int *null_;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12939.35025.patch
Type: text/x-patch
Size: 2125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150917/dbaa6669/attachment.bin>
More information about the llvm-commits
mailing list