diff options
author | Petr Hosek <phosek@chromium.org> | 2018-01-17 20:39:14 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2018-01-17 20:39:14 +0000 |
commit | 03a88ba9f340248303a07ddab4dd41fdece50466 (patch) | |
tree | dd58f6ce417870beb1d62fa41dee74b1b3dda920 /test/fuzzer/lit.site.cfg.in | |
parent | 3bbf114266d8acae85f990a940ec6de1385dd057 (diff) |
Reland "[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@322755 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/fuzzer/lit.site.cfg.in')
-rw-r--r-- | test/fuzzer/lit.site.cfg.in | 2 |
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. |