]> granicus.if.org Git - clang/commit
Append -fno-assume-sane-operator-new in ASan builds.
authorSergey Matveev <earthdok@google.com>
Tue, 17 Feb 2015 15:09:33 +0000 (15:09 +0000)
committerSergey Matveev <earthdok@google.com>
Tue, 17 Feb 2015 15:09:33 +0000 (15:09 +0000)
commit51108a12a34f0084c701ee0a58b1045058214d24
tree468ba2dd44ee07187a0a573159149392f4768d29
parent49fb82769ab97890d413a91b20644f6ba842d16a
Append -fno-assume-sane-operator-new in ASan builds.

This should help LSan detect leaks where operator new would otherwise be
optimized out.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229498 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/SanitizerArgs.cpp
test/Driver/fsanitize.c