summaryrefslogtreecommitdiff
path: root/test/fuzzer/lit.site.cfg.in
diff options
context:
space:
mode:
authorPetr Hosek <phosek@chromium.org>2018-01-17 00:42:48 +0000
committerPetr Hosek <phosek@chromium.org>2018-01-17 00:42:48 +0000
commit80e8d9367b82cf66bd7afb4c65f26129aa15721a (patch)
treeb333b9f1749bfc70ce9bcaba1a740a6d6962fbd1 /test/fuzzer/lit.site.cfg.in
parent7e61151831a641f2db965df5b2e47b58195198c1 (diff)
[libFuzzer] Support using libc++
This is needed in case the users of libFuzzer use libc++ in their code, which the fuzz target (libFuzzer) will be linked against. When libc++ source is available, we build a private version of it and link it against libFuzzer which allows using the same static library against codebases which use both libc++ and libstdc++. Differential Revision: https://reviews.llvm.org/D37631 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@322604 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/fuzzer/lit.site.cfg.in')
-rw-r--r--test/fuzzer/lit.site.cfg.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/fuzzer/lit.site.cfg.in b/test/fuzzer/lit.site.cfg.in
index 7f70c8f67..41f146666 100644
--- a/test/fuzzer/lit.site.cfg.in
+++ b/test/fuzzer/lit.site.cfg.in
@@ -5,9 +5,11 @@ config.test_exec_root = "@CMAKE_CURRENT_BINARY_DIR@"
config.cpp_compiler = "@LIBFUZZER_TEST_COMPILER@"
config.target_flags = "@LIBFUZZER_TEST_FLAGS@"
config.c_compiler = "@LIBFUZZER_TEST_COMPILER@"
+config.stdlib = "@LIBFUZZER_TEST_STDLIB@"
config.osx_sysroot_flag = "@OSX_SYSROOT_FLAG@"
config.cmake_binary_dir = "@CMAKE_BINARY_DIR@"
+config.llvm_library_dir = "@LLVM_LIBRARY_DIR@"
config.target_triple = "@TARGET_TRIPLE@"
# Load common config for all compiler-rt lit tests.