summaryrefslogtreecommitdiffstats
path: root/libunwind/test
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-02-27 18:40:04 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-02-27 18:40:04 +0000
commite3e433b038b6c19e53f629eaba0471476c18cf28 (patch)
treea10ac536ef07af17b4ba175ea33157bebda10e58 /libunwind/test
parentee6303921b067856d260330e9cfc73865df99043 (diff)
downloadbcm5719-llvm-e3e433b038b6c19e53f629eaba0471476c18cf28.tar.gz
bcm5719-llvm-e3e433b038b6c19e53f629eaba0471476c18cf28.zip
[libunwind] Permit additional compiler and linker flags to be passed to tests.
Summary: This is done via new LIBUNWIND_TEST_COMPILER_FLAGS and LIBUNWIND_TEST_LINKER_FLAGS variables. Reviewed By: sdardis Differential Revision: https://reviews.llvm.org/D43585 llvm-svn: 326223
Diffstat (limited to 'libunwind/test')
-rw-r--r--libunwind/test/lit.site.cfg.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/libunwind/test/lit.site.cfg.in b/libunwind/test/lit.site.cfg.in
index 888b96075f9..8e3bb72e0a4 100644
--- a/libunwind/test/lit.site.cfg.in
+++ b/libunwind/test/lit.site.cfg.in
@@ -12,6 +12,8 @@ config.enable_threads = "@LIBUNWIND_ENABLE_THREADS@"
config.use_sanitizer = "@LLVM_USE_SANITIZER@"
config.enable_32bit = "@LIBUNWIND_BUILD_32_BITS@"
config.target_info = "@LIBUNWIND_TARGET_INFO@"
+config.test_linker_flags = "@LIBUNWIND_TEST_LINKER_FLAGS@"
+config.test_compiler_flags = "@LIBUNWIND_TEST_COMPILER_FLAGS@"
config.executor = "@LIBUNWIND_EXECUTOR@"
config.libunwind_shared = "@LIBUNWIND_ENABLE_SHARED@"
config.enable_shared = "@LIBCXX_ENABLE_SHARED@"
OpenPOWER on IntegriCloud