diff options
author | Alexey Samsonov <samsonov@google.com> | 2014-02-19 15:13:14 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2014-02-19 15:13:14 +0000 |
commit | 04a199e273a9101570341dd23e6e22ab3886774c (patch) | |
tree | bca236818aacd339cb90141722e02ac97a6bfd5b /test/dfsan | |
parent | c3cc5874235791b680461b8d8d67e504cc460e11 (diff) |
Add rudimentary support for running compiler-rt lit tests with GCC
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@201680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/dfsan')
-rw-r--r-- | test/dfsan/lit.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dfsan/lit.cfg b/test/dfsan/lit.cfg index 7e14417aa..d4adb9a51 100644 --- a/test/dfsan/lit.cfg +++ b/test/dfsan/lit.cfg @@ -10,7 +10,7 @@ config.test_source_root = os.path.dirname(__file__) # Setup default compiler flags used with -fsanitize=dataflow option. clang_dfsan_cflags = ["-fsanitize=dataflow"] -clang_dfsan_cxxflags = ["--driver-mode=g++"] + clang_dfsan_cflags +clang_dfsan_cxxflags = config.cxx_mode_flags + clang_dfsan_cflags def build_invocation(compile_flags): return " " + " ".join([config.clang] + compile_flags) + " " |