mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Merge pull request #68684 from cachemeifyoucan/eng/PR-path-remapping
[CompilerCaching] Path Remapping for canonicalization
This commit is contained in:
@@ -1815,6 +1815,9 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
|
||||
auto SplitMap = StringRef(A).split('=');
|
||||
Opts.DeserializedPathRecoverer.addMapping(SplitMap.first, SplitMap.second);
|
||||
}
|
||||
for (StringRef Opt : Args.getAllArgValues(OPT_scanner_prefix_map)) {
|
||||
Opts.ScannerPrefixMapper.push_back(Opt.str());
|
||||
}
|
||||
// Opts.RuntimeIncludePath is set by calls to
|
||||
// setRuntimeIncludePath() or setMainExecutablePath().
|
||||
// Opts.RuntimeImportPath is set by calls to
|
||||
|
||||
Reference in New Issue
Block a user