2014-07-10 10:20:11 +08:00
|
|
|
@AUTO_GEN_COMMENT@
|
2015-01-22 07:06:22 +08:00
|
|
|
config.cxx_under_test = "@LIBCXXABI_COMPILER@"
|
2015-10-15 02:20:48 +08:00
|
|
|
config.project_obj_root = "@CMAKE_BINARY_DIR@"
|
2015-01-22 07:06:22 +08:00
|
|
|
config.libcxxabi_src_root = "@LIBCXXABI_SOURCE_DIR@"
|
2015-02-11 09:07:48 +08:00
|
|
|
config.libcxxabi_obj_root = "@LIBCXXABI_BINARY_DIR@"
|
2015-03-18 03:45:21 +08:00
|
|
|
config.abi_library_path = "@LIBCXXABI_LIBRARY_DIR@"
|
2015-01-23 04:00:06 +08:00
|
|
|
config.libcxx_src_root = "@LIBCXXABI_LIBCXX_PATH@"
|
2015-01-22 07:06:22 +08:00
|
|
|
config.cxx_headers = "@LIBCXXABI_LIBCXX_INCLUDES@"
|
2017-04-04 22:03:54 +08:00
|
|
|
config.libunwind_headers = "@LIBCXXABI_LIBUNWIND_INCLUDES_INTERNAL@"
|
2015-03-18 02:58:14 +08:00
|
|
|
config.cxx_library_root = "@LIBCXXABI_LIBCXX_LIBRARY_PATH@"
|
2015-01-22 07:06:22 +08:00
|
|
|
config.llvm_unwinder = "@LIBCXXABI_USE_LLVM_UNWINDER@"
|
|
|
|
config.enable_threads = "@LIBCXXABI_ENABLE_THREADS@"
|
|
|
|
config.use_sanitizer = "@LLVM_USE_SANITIZER@"
|
2016-06-02 10:18:31 +08:00
|
|
|
config.enable_32bit = "@LIBCXXABI_BUILD_32_BITS@"
|
2015-02-26 23:55:01 +08:00
|
|
|
config.target_info = "@LIBCXXABI_TARGET_INFO@"
|
|
|
|
config.executor = "@LIBCXXABI_EXECUTOR@"
|
2016-04-19 20:47:38 +08:00
|
|
|
config.libcxxabi_shared = "@LIBCXXABI_ENABLE_SHARED@"
|
|
|
|
config.enable_shared = "@LIBCXX_ENABLE_SHARED@"
|
2016-05-31 20:01:32 +08:00
|
|
|
config.enable_exceptions = "@LIBCXXABI_ENABLE_EXCEPTIONS@"
|
2016-11-13 22:44:41 +08:00
|
|
|
config.host_triple = "@LLVM_HOST_TRIPLE@"
|
|
|
|
config.target_triple = "@TARGET_TRIPLE@"
|
2016-11-14 06:27:00 +08:00
|
|
|
config.use_target = len("@LIBCXXABI_TARGET_TRIPLE@") > 0
|
2017-01-09 19:57:21 +08:00
|
|
|
config.cxx_ext_threads = "@LIBCXXABI_BUILD_EXTERNAL_THREAD_LIBRARY@"
|
2014-07-10 10:20:11 +08:00
|
|
|
|
|
|
|
# Let the main config do the real work.
|
|
|
|
lit_config.load_config(config, "@LIBCXXABI_SOURCE_DIR@/test/lit.cfg")
|