[compiler-rt] r247996 - [compiler-rt] [sanitizer] Clean buildbot failures for aarch64

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 18 08:48:32 PDT 2015


Author: azanella
Date: Fri Sep 18 10:48:32 2015
New Revision: 247996

URL: http://llvm.org/viewvc/llvm-project?rev=247996&view=rev
Log:
[compiler-rt] [sanitizer] Clean buildbot failures for aarch64

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.

Modified:
    compiler-rt/trunk/test/ubsan/TestCases/Misc/nonnull-arg.cpp
    compiler-rt/trunk/test/ubsan/lit.common.cfg

Modified: compiler-rt/trunk/test/ubsan/TestCases/Misc/nonnull-arg.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/Misc/nonnull-arg.cpp?rev=247996&r1=247995&r2=247996&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/Misc/nonnull-arg.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/Misc/nonnull-arg.cpp Fri Sep 18 10:48:32 2015
@@ -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_;

Modified: compiler-rt/trunk/test/ubsan/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/lit.common.cfg?rev=247996&r1=247995&r2=247996&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/lit.common.cfg (original)
+++ compiler-rt/trunk/test/ubsan/lit.common.cfg Fri Sep 18 10:48:32 2015
@@ -75,5 +75,5 @@ if config.host_os == 'Windows':
 
 # 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')




More information about the llvm-commits mailing list