Add comment for SelectionDAGBuilder::SL field.
[llvm-project.git] / debuginfo-tests / lit.site.cfg.py.in
blobd5893f577aed08cf5a9bff8b86fa4a3ed4c38532
1 @LIT_SITE_CFG_IN_HEADER@
3 import sys
4 import lit.util
6 config.test_exec_root = "@CMAKE_BINARY_DIR@"
8 config.llvm_src_root = "@LLVM_SOURCE_DIR@"
9 config.llvm_obj_root = "@LLVM_BINARY_DIR@"
10 config.llvm_tools_dir = "@LLVM_TOOLS_DIR@"
11 config.llvm_libs_dir = "@LLVM_LIBS_DIR@"
12 config.llvm_shlib_dir = "@SHLIBDIR@"
13 config.lit_tools_dir = "@LLVM_LIT_TOOLS_DIR@"
14 config.llvm_plugin_ext = "@LLVM_PLUGIN_EXT@"
15 config.debuginfo_tests_obj_root = "@DEBUGINFO_TESTS_BINARY_DIR@"
16 config.debuginfo_tests_src_root = "@DEBUGINFO_TESTS_SOURCE_DIR@"
17 config.has_lld = lit.util.pythonize_bool("@DEBUGINFO_TESTS_HAS_LLD@")
18 config.host_triple = "@LLVM_HOST_TRIPLE@"
19 config.target_triple = "@TARGET_TRIPLE@"
20 config.host_arch = "@HOST_ARCH@"
21 config.is_msvc = lit.util.pythonize_bool("@MSVC@")
23 config.llvm_use_sanitizer = "@LLVM_USE_SANITIZER@"
25 config.python3_executable = "@Python3_EXECUTABLE@"
27 # Support substitution of the tools_dir with user parameters. This is
28 # used when we can't determine the tool dir at configuration time.
29 try:
30 config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params
31 config.llvm_shlib_dir = config.llvm_shlib_dir % lit_config.params
32 except KeyError:
33 e = sys.exc_info()[1]
34 key, = e.args
35 lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key,key))
37 import lit.llvm
38 lit.llvm.initialize(lit_config, config)
40 # Let the main config do the real work.
41 lit_config.load_config(config, "@DEBUGINFO_TESTS_SOURCE_DIR@/lit.cfg.py")