Allow to specify multiple -fsanitize-blacklist= arguments.
Summary: Allow user to provide multiple blacklists by passing several -fsanitize-blacklist= options. These options now don't override default blacklist from Clang resource directory, which is always applied (which fixes PR22431). -fno-sanitize-blacklist option now disables all blacklists that were specified earlier in the command line (including the default one). This change depends on http://reviews.llvm.org/D7367. Test Plan: regression test suite Reviewers: timurrrr Subscribers: cfe-commits, kcc, pcc Differential Revision: http://reviews.llvm.org/D7368 llvm-svn: 228156
This commit is contained in:
@@ -30,7 +30,7 @@ void LangOptions::resetNonModularOptions() {
|
||||
// FIXME: This should not be reset; modules can be different with different
|
||||
// sanitizer options (this affects __has_feature(address_sanitizer) etc).
|
||||
Sanitize.clear();
|
||||
SanitizerBlacklistFile.clear();
|
||||
SanitizerBlacklistFiles.clear();
|
||||
|
||||
CurrentModule.clear();
|
||||
ImplementationOfModule.clear();
|
||||
|
||||
Reference in New Issue
Block a user