summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--llvm/test/Instrumentation/AddressSanitizer/X86/bug_11395.ll (renamed from llvm/test/Instrumentation/AddressSanitizer/bug_11395.ll)0
-rw-r--r--llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg13
2 files changed, 13 insertions, 0 deletions
diff --git a/llvm/test/Instrumentation/AddressSanitizer/bug_11395.ll b/llvm/test/Instrumentation/AddressSanitizer/X86/bug_11395.ll
index 35c5c4a0bba..35c5c4a0bba 100644
--- a/llvm/test/Instrumentation/AddressSanitizer/bug_11395.ll
+++ b/llvm/test/Instrumentation/AddressSanitizer/X86/bug_11395.ll
diff --git a/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
new file mode 100644
index 00000000000..b05ed3c77c1
--- /dev/null
+++ b/llvm/test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
@@ -0,0 +1,13 @@
+config.suffixes = ['.ll', '.c', '.cpp']
+
+def getRoot(config):
+ if not config.parent:
+ return config
+ return getRoot(config.parent)
+
+root = getRoot(config)
+
+targets = set(root.targets_to_build.split())
+if not 'X86' in targets:
+ config.unsupported = True
+
OpenPOWER on IntegriCloud