summaryrefslogtreecommitdiff
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorJyotsna Verma <jverma@codeaurora.org>2013-04-10 19:53:26 +0000
committerJyotsna Verma <jverma@codeaurora.org>2013-04-10 19:53:26 +0000
commitf0ca9a8c94dafe795d5141e862ded156d6c6cd66 (patch)
tree6e3a0f4fa88cfaa779fd166714183c24f40dd8b8 /test/lit.cfg
parent4b924d3a61442fb70773057d40789ed1e3187a77 (diff)
downloadllvm-f0ca9a8c94dafe795d5141e862ded156d6c6cd66.tar.gz
llvm-f0ca9a8c94dafe795d5141e862ded156d6c6cd66.tar.bz2
llvm-f0ca9a8c94dafe795d5141e862ded156d6c6cd66.tar.xz
Add object-emission flag for lit tests. This flag is used
to disable following tests for Hexagon that require direct object generation support. DebugInfo/dwarf-public-names.ll DebugInfo/dwarf-version.ll DebugInfo/member-pointers.ll DebugInfo/namespace.ll DebugInfo/two-cus-from-same-file.ll Fixes bug 15616 - http://llvm.org/bugs/show_bug.cgi?id=15616 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179209 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index a716387142..ac18e50d99 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -273,6 +273,10 @@ if (config.llvm_use_sanitizer == "Memory" or
config.llvm_use_sanitizer == "MemoryWithOrigins"):
config.available_features.add("msan")
+# Direct object generation
+if not 'hexagon' in config.target_triple:
+ config.available_features.add("object-emission")
+
# llc knows whether he is compiled with -DNDEBUG.
import subprocess
try: