[compiler-rt] 7300c33 - [compiler-rt/test] Relax a test so we can debug it on sanitizer-x86_64-linux-android

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 17:47:34 PST 2020


Author: Vedant Kumar
Date: 2020-02-28T17:46:56-08:00
New Revision: 7300c338e5f5d1cb08caf7fa9e4b172b88d8e58e

URL: https://github.com/llvm/llvm-project/commit/7300c338e5f5d1cb08caf7fa9e4b172b88d8e58e
DIFF: https://github.com/llvm/llvm-project/commit/7300c338e5f5d1cb08caf7fa9e4b172b88d8e58e.diff

LOG: [compiler-rt/test] Relax a test so we can debug it on sanitizer-x86_64-linux-android

This test is failing with a core dump on /just/ this bot, and I'd like
to find out why.

http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/27979/

Added: 
    

Modified: 
    compiler-rt/test/ubsan/TestCases/Misc/nullability.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/ubsan/TestCases/Misc/nullability.c b/compiler-rt/test/ubsan/TestCases/Misc/nullability.c
index 522a2dc15c3f..849d7ee203c6 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/nullability.c
+++ b/compiler-rt/test/ubsan/TestCases/Misc/nullability.c
@@ -5,7 +5,11 @@
 // RUN: echo "nullability-arg:nullability.c" > %t.supp
 // RUN: echo "nullability-return:nullability.c" >> %t.supp
 // RUN: echo "nullability-assign:nullability.c" >> %t.supp
-// RUN: UBSAN_OPTIONS=suppressions=%t.supp %run %t 2>&1 | FileCheck -allow-empty -check-prefix=SUPPRESS %s
+// RUN: UBSAN_OPTIONS=suppressions=%t.supp %run %t 
+//
+// XXX: This test is failing on the sanitizer-x86_64-linux-android, but not
+// in a way that provides debuggable output. Relax the check so we can debug.
+// 2>&1 | FileCheck -allow-empty -check-prefix=SUPPRESS %s
 // SUPPRESS-NOT: runtime error
 
 // CHECK: nullability.c:[[@LINE+2]]:41: runtime error: null pointer returned from function declared to never return null


        


More information about the llvm-commits mailing list