aboutsummaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-04-23 10:17:34 +0000
committerAlexey Samsonov <samsonov@google.com>2013-04-23 10:17:34 +0000
commit005159e92420a102516ee6e29ef2178c818da5d0 (patch)
tree12692c0e8cf95807e5645786b7bc751f8bf71692 /test/lit.cfg
parentab4d569f2841beaf6152179b1f4da6b7e0f3530e (diff)
downloadexternal_llvm-005159e92420a102516ee6e29ef2178c818da5d0.zip
external_llvm-005159e92420a102516ee6e29ef2178c818da5d0.tar.gz
external_llvm-005159e92420a102516ee6e29ef2178c818da5d0.tar.bz2
Use zlib to uncompress debug sections in DWARF parser.
This makes llvm-dwarfdump and llvm-symbolizer understand debug info sections compressed by ld.gold linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
index ea91f45..b423c6e 100644
--- a/test/lit.cfg
+++ b/test/lit.cfg
@@ -268,6 +268,9 @@ if (config.llvm_use_sanitizer == "Memory" or
if not 'hexagon' in config.target_triple:
config.available_features.add("object-emission")
+if config.have_zlib == "1":
+ config.available_features.add("zlib")
+
# llc knows whether he is compiled with -DNDEBUG.
import subprocess
try: