summaryrefslogtreecommitdiffstats
path: root/compiler-rt
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-01-30 13:19:15 +0000
committerAlexey Samsonov <samsonov@google.com>2013-01-30 13:19:15 +0000
commitc500132a93dc74ec84c1a979ecaf890bcf08a8e8 (patch)
tree7b64e79c99593ba490b4ecba5ec89342879769a8 /compiler-rt
parent358698279dc7495f1f23c26fa54e04186fb19fb6 (diff)
downloadbcm5719-llvm-c500132a93dc74ec84c1a979ecaf890bcf08a8e8.tar.gz
bcm5719-llvm-c500132a93dc74ec84c1a979ecaf890bcf08a8e8.zip
[Sanitizer] Add change missed in r173926
llvm-svn: 173929
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/sanitizer_common/tests/lit.site.cfg.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/compiler-rt/lib/sanitizer_common/tests/lit.site.cfg.in b/compiler-rt/lib/sanitizer_common/tests/lit.site.cfg.in
index bb9a28d6a6c..ad0ff3c01a8 100644
--- a/compiler-rt/lib/sanitizer_common/tests/lit.site.cfg.in
+++ b/compiler-rt/lib/sanitizer_common/tests/lit.site.cfg.in
@@ -1,9 +1,15 @@
## Autogenerated by LLVM/Clang configuration.
# Do not edit!
-config.build_type = "@CMAKE_BUILD_TYPE@"
config.llvm_obj_root = "@LLVM_BINARY_DIR@"
config.llvm_src_root = "@LLVM_SOURCE_DIR@"
+config.llvm_build_mode = "@LLVM_BUILD_MODE@"
+
+try:
+ config.llvm_build_mode = config.llvm_build_mode % lit.params
+except KeyError,e:
+ key, = e.args
+ lit.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key))
# Let the main config do the real work.
lit.load_config(config, "@CMAKE_CURRENT_SOURCE_DIR@/lit.cfg")
OpenPOWER on IntegriCloud