summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-10-30 10:06:42 +0000
committerAlexey Samsonov <samsonov@google.com>2012-10-30 10:06:42 +0000
commitea0177e2b8bb5d1dbd22c7e2776f6299fa712799 (patch)
treee27b7d70bf59b8f82a9d86b9d5293463fc5abc9a
parent2529922d03a76c90a512e0dd8381a42978349b69 (diff)
downloadcompiler-rt-ea0177e2b8bb5d1dbd22c7e2776f6299fa712799.tar.gz
Flag -ccc-clang-cxx was removed in r166986, remove it from compiler-rt lit configs
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@167010 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--lib/asan/lit_tests/lit.cfg3
-rw-r--r--lib/lit.common.cfg2
-rw-r--r--lib/tsan/lit_tests/lit.cfg2
3 files changed, 3 insertions, 4 deletions
diff --git a/lib/asan/lit_tests/lit.cfg b/lib/asan/lit_tests/lit.cfg
index 96a8f1488..14ae142a3 100644
--- a/lib/asan/lit_tests/lit.cfg
+++ b/lib/asan/lit_tests/lit.cfg
@@ -58,8 +58,7 @@ lit.load_config(config, compiler_rt_lit_cfg)
# Setup default compiler flags used with -faddress-sanitizer option.
# FIXME: Review the set of required flags and check if it can be reduced.
-clang_asan_cxxflags = ("-ccc-clang-cxx "
- + "-ccc-cxx "
+clang_asan_cxxflags = ("-ccc-cxx "
+ "-faddress-sanitizer "
+ "-mno-omit-leaf-frame-pointer "
+ "-fno-omit-frame-pointer "
diff --git a/lib/lit.common.cfg b/lib/lit.common.cfg
index 4c148b21e..428554ac7 100644
--- a/lib/lit.common.cfg
+++ b/lib/lit.common.cfg
@@ -45,7 +45,7 @@ config.environment['PATH'] = path
# Define %clang and %clangxx substitutions to use in test RUN lines.
config.substitutions.append( ("%clang ", (" " + config.clang + " ")) )
config.substitutions.append( ("%clangxx ", (" " + config.clang +
- " -ccc-clang-cxx -ccc-cxx ")) )
+ " -ccc-cxx ")) )
# Use ugly construction to explicitly prohibit "clang", "clang++" etc.
# in RUN lines.
diff --git a/lib/tsan/lit_tests/lit.cfg b/lib/tsan/lit_tests/lit.cfg
index f5e5230ef..acfc74473 100644
--- a/lib/tsan/lit_tests/lit.cfg
+++ b/lib/tsan/lit_tests/lit.cfg
@@ -69,7 +69,7 @@ clang_tsan_cflags = ("-fthread-sanitizer "
+ "-pie "
+ "-lpthread "
+ "-ldl ")
-clang_tsan_cxxflags = "-ccc-clang-cxx -ccc-cxx " + clang_tsan_cflags
+clang_tsan_cxxflags = "-ccc-cxx " + clang_tsan_cflags
config.substitutions.append( ("%clangxx_tsan ", (" " + config.clang + " " +
clang_tsan_cxxflags + " ")) )
config.substitutions.append( ("%clang_tsan ", (" " + config.clang + " " +