summaryrefslogtreecommitdiff
path: root/test/lit.common.configured.in
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2016-01-22 20:26:10 +0000
committerNico Weber <nicolasweber@gmx.de>2016-01-22 20:26:10 +0000
commitf1e6d2601dcb3f844cdb1e147e405a94c0c613fe (patch)
tree4f7195ece0efac373f2431d4bd7188a272699665 /test/lit.common.configured.in
parent76720429ce45a4b87d7aef94555fddad1555d56c (diff)
When building without DIA SDK, don't set suppressions.cpp fail
This test requires llvm-symbolizer to be able to convert a stack address into a function name. It is only able to do this if the DIA SDK was found at cmake time. Add a lit feature for this, and let the test depend on it. See also discussion in D15363. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@258545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.common.configured.in')
-rw-r--r--test/lit.common.configured.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lit.common.configured.in b/test/lit.common.configured.in
index 877890257..010ff3988 100644
--- a/test/lit.common.configured.in
+++ b/test/lit.common.configured.in
@@ -29,6 +29,7 @@ set_default("compiler_rt_libdir", "@COMPILER_RT_LIBRARY_OUTPUT_DIR@")
set_default("emulator", "@COMPILER_RT_EMULATOR@")
set_default("sanitizer_can_use_cxxabi", @SANITIZER_CAN_USE_CXXABI_PYBOOL@)
set_default("has_lld", @COMPILER_RT_HAS_LLD_SOURCES_PYBOOL@)
+set_default("can_symbolize", @CAN_SYMBOLIZE@)
# LLVM tools dir can be passed in lit parameters, so try to
# apply substitution.