[compiler-rt] r186607 - Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605
Hans Wennborg
hans at hanshq.net
Thu Jul 18 13:48:51 PDT 2013
Author: hans
Date: Thu Jul 18 15:48:50 2013
New Revision: 186607
URL: http://llvm.org/viewvc/llvm-project?rev=186607&view=rev
Log:
Use --driver-mode=g++ instead of -ccc-cxx; required after Clang r186605
Modified:
compiler-rt/trunk/lib/asan/lit_tests/lit.cfg
compiler-rt/trunk/lib/lsan/lit_tests/lit.common.cfg
compiler-rt/trunk/lib/msan/lit_tests/lit.cfg
compiler-rt/trunk/lib/tsan/lit_tests/lit.cfg
Modified: compiler-rt/trunk/lib/asan/lit_tests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/lit_tests/lit.cfg?rev=186607&r1=186606&r2=186607&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/lit_tests/lit.cfg (original)
+++ compiler-rt/trunk/lib/asan/lit_tests/lit.cfg Thu Jul 18 15:48:50 2013
@@ -57,9 +57,10 @@ clang_asan_cflags = (" -fsanitize=addres
+ " -fno-optimize-sibling-calls"
+ " -g"
+ bits_cflag)
-clang_asan_cxxflags = " -ccc-cxx" + clang_asan_cflags
+clang_asan_cxxflags = " --driver-mode=g++" + clang_asan_cflags
config.substitutions.append( ("%clang ", " " + config.clang + bits_cflag + " "))
-config.substitutions.append( ("%clangxx ", (" " + config.clang + " -ccc-cxx" +
+config.substitutions.append( ("%clangxx ", (" " + config.clang +
+ " --driver-mode=g++" +
bits_cflag + " ")) )
config.substitutions.append( ("%clang_asan ", (" " + config.clang + " " +
clang_asan_cflags + " ")) )
Modified: compiler-rt/trunk/lib/lsan/lit_tests/lit.common.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lit_tests/lit.common.cfg?rev=186607&r1=186606&r2=186607&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lit_tests/lit.common.cfg (original)
+++ compiler-rt/trunk/lib/lsan/lit_tests/lit.common.cfg Thu Jul 18 15:48:50 2013
@@ -16,7 +16,7 @@ def get_required_attr(config, attr_name)
lsan_lit_src_root = get_required_attr(config, 'lsan_lit_src_root')
config.test_source_root = os.path.join(lsan_lit_src_root, 'TestCases')
-clang_cxxflags = ("-ccc-cxx "
+clang_cxxflags = ("--driver-mode=g++ "
+ "-g "
+ "-O0 "
+ "-m64 ")
Modified: compiler-rt/trunk/lib/msan/lit_tests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/msan/lit_tests/lit.cfg?rev=186607&r1=186606&r2=186607&view=diff
==============================================================================
--- compiler-rt/trunk/lib/msan/lit_tests/lit.cfg (original)
+++ compiler-rt/trunk/lib/msan/lit_tests/lit.cfg Thu Jul 18 15:48:50 2013
@@ -54,7 +54,7 @@ clang_msan_cflags = ["-fsanitize=memory"
"-fno-omit-frame-pointer",
"-fno-optimize-sibling-calls",
"-g"]
-clang_msan_cxxflags = ["-ccc-cxx "] + clang_msan_cflags
+clang_msan_cxxflags = ["--driver-mode=g++ "] + clang_msan_cflags
config.substitutions.append( ("%clang_msan ",
" ".join([config.clang] + clang_msan_cflags) +
" ") )
Modified: compiler-rt/trunk/lib/tsan/lit_tests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/lit_tests/lit.cfg?rev=186607&r1=186606&r2=186607&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/lit_tests/lit.cfg (original)
+++ compiler-rt/trunk/lib/tsan/lit_tests/lit.cfg Thu Jul 18 15:48:50 2013
@@ -62,7 +62,7 @@ clang_tsan_cflags = ("-fsanitize=thread
+ "-Wall "
+ "-lpthread "
+ "-ldl ")
-clang_tsan_cxxflags = "-ccc-cxx " + clang_tsan_cflags
+clang_tsan_cxxflags = "--driver-mode=g++ " + clang_tsan_cflags
config.substitutions.append( ("%clangxx_tsan ", (" " + config.clang + " " +
clang_tsan_cxxflags + " ")) )
config.substitutions.append( ("%clang_tsan ", (" " + config.clang + " " +
More information about the llvm-commits
mailing list