Merge pull request #64943 from nkcsgexi/block-list

This commit is contained in:
Xi Ge
2023-04-05 19:52:56 -07:00
committed by GitHub
8 changed files with 122 additions and 0 deletions

View File

@@ -1177,6 +1177,9 @@ static bool ParseLangArgs(LangOptions &Opts, ArgList &Args,
Opts.DumpTypeWitnessSystems = Args.hasArg(OPT_dump_type_witness_systems);
for (auto A : Args.getAllArgValues(options::OPT_block_list_file)) {
Opts.BlocklistConfigFilePath.push_back(A);
}
if (const Arg *A = Args.getLastArg(options::OPT_concurrency_model)) {
Opts.ActiveConcurrencyModel =
llvm::StringSwitch<ConcurrencyModel>(A->getValue())