forked from OSchip/llvm-project
[clang] Fix -fsanitize-system-blacklist processing in cc1
This commit is contained in:
parent
cae4a28864
commit
555c6be041
|
@ -3194,6 +3194,11 @@ static void ParseLangArgs(LangOptions &Opts, ArgList &Args, InputKind IK,
|
|||
Opts.SanitizeAddressFieldPadding =
|
||||
getLastArgIntValue(Args, OPT_fsanitize_address_field_padding, 0, Diags);
|
||||
Opts.SanitizerBlacklistFiles = Args.getAllArgValues(OPT_fsanitize_blacklist);
|
||||
std::vector<std::string> systemBlacklists =
|
||||
Args.getAllArgValues(OPT_fsanitize_system_blacklist);
|
||||
Opts.SanitizerBlacklistFiles.insert(Opts.SanitizerBlacklistFiles.end(),
|
||||
systemBlacklists.begin(),
|
||||
systemBlacklists.end());
|
||||
|
||||
// -fxray-instrument
|
||||
Opts.XRayInstrument =
|
||||
|
|
Loading…
Reference in New Issue