[compiler-rt] r173929 - [Sanitizer] Add change missed in r173926
Alexey Samsonov
samsonov at google.com
Wed Jan 30 05:19:15 PST 2013
Author: samsonov
Date: Wed Jan 30 07:19:15 2013
New Revision: 173929
URL: http://llvm.org/viewvc/llvm-project?rev=173929&view=rev
Log:
[Sanitizer] Add change missed in r173926
Modified:
compiler-rt/trunk/lib/sanitizer_common/tests/lit.site.cfg.in
Modified: compiler-rt/trunk/lib/sanitizer_common/tests/lit.site.cfg.in
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/tests/lit.site.cfg.in?rev=173929&r1=173928&r2=173929&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/tests/lit.site.cfg.in (original)
+++ compiler-rt/trunk/lib/sanitizer_common/tests/lit.site.cfg.in Wed Jan 30 07:19:15 2013
@@ -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")
More information about the llvm-commits
mailing list