Merge pull request #60139 from artemcm/AddConstValueExtractionPathHandling

Add supplementary output path handling for extracted compile-time-known values
This commit is contained in:
Artem Chikin
2022-07-21 13:19:42 -07:00
committed by GitHub
21 changed files with 171 additions and 0 deletions

View File

@@ -1350,6 +1350,9 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
if (const Arg *A = Args.getLastArg(OPT_batch_scan_input_file))
Opts.BatchScanInputFilePath = A->getValue();
if (const Arg *A = Args.getLastArg(OPT_const_gather_protocols_file))
Opts.ConstGatherProtocolListFilePath = A->getValue();
for (auto A : Args.getAllArgValues(options::OPT_serialized_path_obfuscate)) {
auto SplitMap = StringRef(A).split('=');
Opts.DeserializedPathRecoverer.addMapping(SplitMap.first, SplitMap.second);