[llvm] r217979 - Exclude known and bugzilled failures from UBSan bootstrap

Alexey Samsonov vonosmas at gmail.com
Wed Sep 17 13:17:53 PDT 2014


Author: samsonov
Date: Wed Sep 17 15:17:52 2014
New Revision: 217979

URL: http://llvm.org/viewvc/llvm-project?rev=217979&view=rev
Log:
Exclude known and bugzilled failures from UBSan bootstrap

Modified:
    llvm/trunk/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
    llvm/trunk/test/MC/SystemZ/lit.local.cfg
    llvm/trunk/test/lit.cfg
    llvm/trunk/test/tools/llvm-cov/lit.local.cfg

Modified: llvm/trunk/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll?rev=217979&r1=217978&r2=217979&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll (original)
+++ llvm/trunk/test/CodeGen/R600/llvm.AMDGPU.bfe.i32.ll Wed Sep 17 15:17:52 2014
@@ -1,6 +1,9 @@
 ; RUN: llc -march=r600 -mcpu=SI -verify-machineinstrs < %s | FileCheck -check-prefix=SI -check-prefix=FUNC %s
 ; RUN: llc -march=r600 -mcpu=redwood -show-mc-encoding -verify-machineinstrs < %s | FileCheck -check-prefix=EG -check-prefix=FUNC %s
 
+; http://llvm.org/bugs/show_bug.cgi?id=20982
+; REQUIRES: not_ubsan
+
 declare i32 @llvm.AMDGPU.bfe.i32(i32, i32, i32) nounwind readnone
 
 ; FUNC-LABEL: @bfe_i32_arg_arg_arg

Modified: llvm/trunk/test/MC/SystemZ/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/SystemZ/lit.local.cfg?rev=217979&r1=217978&r2=217979&view=diff
==============================================================================
--- llvm/trunk/test/MC/SystemZ/lit.local.cfg (original)
+++ llvm/trunk/test/MC/SystemZ/lit.local.cfg Wed Sep 17 15:17:52 2014
@@ -1,3 +1,6 @@
 if not 'SystemZ' in config.root.targets:
     config.unsupported = True
 
+# http://llvm.org/bugs/show_bug.cgi?id=20980
+if 'ubsan' in config.available_features:
+  config.unsupported = True

Modified: llvm/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/lit.cfg?rev=217979&r1=217978&r2=217979&view=diff
==============================================================================
--- llvm/trunk/test/lit.cfg (original)
+++ llvm/trunk/test/lit.cfg Wed Sep 17 15:17:52 2014
@@ -268,6 +268,10 @@ if config.llvm_use_sanitizer == "Address
 if (config.llvm_use_sanitizer == "Memory" or
         config.llvm_use_sanitizer == "MemoryWithOrigins"):
     config.available_features.add("msan")
+if config.llvm_use_sanitizer == "Undefined":
+    config.available_features.add("ubsan")
+else:
+    config.available_features.add("not_ubsan")
 
 # Direct object generation
 if not 'hexagon' in config.target_triple:

Modified: llvm/trunk/test/tools/llvm-cov/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-cov/lit.local.cfg?rev=217979&r1=217978&r2=217979&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-cov/lit.local.cfg (original)
+++ llvm/trunk/test/tools/llvm-cov/lit.local.cfg Wed Sep 17 15:17:52 2014
@@ -1 +1,5 @@
 config.suffixes = ['.test', '.m', '.cpp']
+
+# http://llvm.org/bugs/show_bug.cgi?id=20979
+if 'ubsan' in config.available_features:
+  config.unsupported = True





More information about the llvm-commits mailing list