Revert "serialization: obfuscate the serialized search paths"

This commit is contained in:
Saleem Abdulrasool
2021-12-02 08:18:23 -08:00
committed by GitHub
parent 8a7ca32cf0
commit 11d5d6d4ca
21 changed files with 27 additions and 139 deletions

View File

@@ -1214,11 +1214,6 @@ static bool ParseSearchPathArgs(SearchPathOptions &Opts,
Opts.PlaceholderDependencyModuleMap = A->getValue();
if (const Arg *A = Args.getLastArg(OPT_batch_scan_input_file))
Opts.BatchScanInputFilePath = A->getValue();
for (auto A : Args.getAllArgValues(options::OPT_serialized_path_obfuscate)) {
auto SplitMap = StringRef(A).split('=');
Opts.DeserializedPathRecoverer.addMapping(SplitMap.first, SplitMap.second);
}
// Opts.RuntimeIncludePath is set by calls to
// setRuntimeIncludePath() or setMainExecutablePath().
// Opts.RuntimeImportPath is set by calls to