[PATCH] D12939: [compiler-rt] [sanitizer] Clean buildbot failures for aarch64

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 17 09:08:38 PDT 2015


zatrazz created this revision.
zatrazz added reviewers: rengolin, kcc, eugenis.
zatrazz added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

Currently aarch64 lacks instrumentation support for variadic arguments
for MSan.  This patch sets the UBSan tests that uses it as to require
stable-runtime and sets aarch64/ubsan as an unstable one.

http://reviews.llvm.org/D12939

Files:
  test/ubsan/TestCases/Misc/nonnull-arg.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/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.35006.patch
Type: text/x-patch
Size: 1137 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150917/bb6e19cf/attachment.bin>


More information about the llvm-commits mailing list