Exclude known and bugzilled failures from UBSan bootstrap
authorAlexey Samsonov <vonosmas@gmail.com>
Wed, 17 Sep 2014 20:17:52 +0000 (20:17 +0000)
committerAlexey Samsonov <vonosmas@gmail.com>
Wed, 17 Sep 2014 20:17:52 +0000 (20:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217979 91177308-0d34-0410-b5e6-96231b3b80d8

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

index eb5094232825e95d60aea935b3bbfc80458e4d7a..b23995d047382c0b00e7b81a9f4e2029f38163f0 100644 (file)
@@ -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
index 5c02dd3614a492fd2e14ddb54e4756c07db05a51..78c5738c7acc7b98d52eff6ed1b859690367d287 100644 (file)
@@ -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
index 689f213bdb9b30c2af02ca534e897615c86f1de5..294d37bc39173328a7e344a208bd84f0cc42a9e3 100644 (file)
@@ -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:
index 56c6f1f5fac27f6fd68451a4c89a02fc24ed3e22..650bc02747b50590cecd5c33fcdaba76d64c895e 100644 (file)
@@ -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