[compiler-rt] r219721 - Re-enable ASAN/UBSAN tests on ARM, with VFP3 they began to pass

Renato Golin renato.golin at linaro.org
Tue Oct 14 14:00:22 PDT 2014


Author: rengolin
Date: Tue Oct 14 16:00:22 2014
New Revision: 219721

URL: http://llvm.org/viewvc/llvm-project?rev=219721&view=rev
Log:
Re-enable ASAN/UBSAN tests on ARM, with VFP3 they began to pass

When compiling with -mfpu=vfpv3, those tests began to pass, like the others
with "Illegal Instruction" error, so removing the XFAIL from them should
get the bot green (and have more tests!).

Modified:
    compiler-rt/trunk/test/asan/TestCases/Linux/clone_test.cc
    compiler-rt/trunk/test/asan/TestCases/printf-1.c
    compiler-rt/trunk/test/asan/TestCases/printf-3.c
    compiler-rt/trunk/test/asan/TestCases/printf-5.c
    compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp

Modified: compiler-rt/trunk/test/asan/TestCases/Linux/clone_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/Linux/clone_test.cc?rev=219721&r1=219720&r2=219721&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/Linux/clone_test.cc (original)
+++ compiler-rt/trunk/test/asan/TestCases/Linux/clone_test.cc Tue Oct 14 16:00:22 2014
@@ -6,7 +6,6 @@
 // RUN: %clangxx_asan -O2 %s -o %t && %run %t | FileCheck %s
 // RUN: %clangxx_asan -O3 %s -o %t && %run %t | FileCheck %s
 // XFAIL: arm-linux-gnueabi
-// XFAIL: armv7l-unknown-linux-gnueabihf
 
 #include <stdio.h>
 #include <sched.h>

Modified: compiler-rt/trunk/test/asan/TestCases/printf-1.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/printf-1.c?rev=219721&r1=219720&r2=219721&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/printf-1.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/printf-1.c Tue Oct 14 16:00:22 2014
@@ -2,7 +2,6 @@
 // RUN: env ASAN_OPTIONS=check_printf=1 %run %t 2>&1 | FileCheck %s
 // RUN: env ASAN_OPTIONS=check_printf=0 %run %t 2>&1 | FileCheck %s
 // RUN: %run %t 2>&1 | FileCheck %s
-// XFAIL: armv7l-unknown-linux-gnueabihf
 
 #include <stdio.h>
 #if defined(_WIN32)

Modified: compiler-rt/trunk/test/asan/TestCases/printf-3.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/printf-3.c?rev=219721&r1=219720&r2=219721&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/printf-3.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/printf-3.c Tue Oct 14 16:00:22 2014
@@ -5,7 +5,6 @@
 
 // FIXME: printf is not intercepted on Windows yet.
 // XFAIL: win32
-// XFAIL: armv7l-unknown-linux-gnueabihf
 
 #include <stdio.h>
 int main() {

Modified: compiler-rt/trunk/test/asan/TestCases/printf-5.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/TestCases/printf-5.c?rev=219721&r1=219720&r2=219721&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/TestCases/printf-5.c (original)
+++ compiler-rt/trunk/test/asan/TestCases/printf-5.c Tue Oct 14 16:00:22 2014
@@ -6,7 +6,6 @@
 
 // FIXME: printf is not intercepted on Windows yet.
 // XFAIL: win32
-// XFAIL: armv7l-unknown-linux-gnueabihf
 
 #include <stdio.h>
 #include <string.h>

Modified: compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp?rev=219721&r1=219720&r2=219721&view=diff
==============================================================================
--- compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp (original)
+++ compiler-rt/trunk/test/ubsan/TestCases/TypeCheck/vptr.cpp Tue Oct 14 16:00:22 2014
@@ -25,7 +25,6 @@
 
 // FIXME: This test produces linker errors on Darwin.
 // XFAIL: darwin
-// XFAIL: armv7l-unknown-linux-gnueabihf
 
 extern "C" {
 const char *__ubsan_default_options() {





More information about the llvm-commits mailing list