]> granicus.if.org Git - clang/commit
[Sanitizer] Change driver behavior when linking with -fsanitize=thread and -fsanitize...
authorAlexey Samsonov <samsonov@google.com>
Wed, 27 Feb 2013 11:14:55 +0000 (11:14 +0000)
committerAlexey Samsonov <samsonov@google.com>
Wed, 27 Feb 2013 11:14:55 +0000 (11:14 +0000)
commit8614304c0d728d43ef16691708281273101b00af
tree15782868f19d31861eec25101bd75c67ae6782c9
parentfaab0d35da240bde26a6281ed1cfa14c44585a5a
[Sanitizer] Change driver behavior when linking with -fsanitize=thread and -fsanitize=memory. TSan/MSan also provide their versions of new/delete and should use the same strategy as ASan. Share the code that sets linker flags for all sanitizers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@176178 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/asan-ld.c [deleted file]
test/Driver/sanitizer-ld.c [new file with mode: 0644]
test/Driver/ubsan-ld.c [deleted file]