]> granicus.if.org Git - clang/commit
[UBSan] Provide default blacklist filename for UBSan
authorHan Shen <shenhan@google.com>
Wed, 2 Aug 2017 19:53:38 +0000 (19:53 +0000)
committerHan Shen <shenhan@google.com>
Wed, 2 Aug 2017 19:53:38 +0000 (19:53 +0000)
commit82fcdc620f7367f0ffc24b8ade93539e0bfd9e30
tree7cb2a9729654294694bb12ca6badc334c1df5085
parentf4fc7085621c781255dd9c6deb9a9f35951ea608
[UBSan] Provide default blacklist filename for UBSan

Summary:
This is to provide a default blacklist filename for UBSan.

While UBSan is turned on, it's better that clang pick up a blacklist file (when exists), just as what ASan / MSan does, so we do not end up adding the "-fsanitize-blacklist" option to every command line.

Reviewers: chandlerc, echristo, vsk, eugenis

Reviewed By: vsk, eugenis

Subscribers: vsk, eugenis, echristo, cfe-commits

Differential Revision: https://reviews.llvm.org/D35849

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