[lldb] Always record both the working and home directory.
Treat the home directory like the current working directory and always capture both in the VFS.
This commit is contained in:
parent
b16e8687ab
commit
426fa35b65
|
@ -79,9 +79,10 @@ static llvm::Error InitializeFileSystem() {
|
|||
repro::FileProvider &fp = g->GetOrCreate<repro::FileProvider>();
|
||||
FileSystem::Initialize(fp.GetFileCollector());
|
||||
|
||||
repro::WorkingDirectoryProvider &wp =
|
||||
g->GetOrCreate<repro::WorkingDirectoryProvider>();
|
||||
fp.RecordInterestingDirectory(wp.GetDirectory());
|
||||
fp.RecordInterestingDirectory(
|
||||
g->GetOrCreate<repro::WorkingDirectoryProvider>().GetDirectory());
|
||||
fp.RecordInterestingDirectory(
|
||||
g->GetOrCreate<repro::HomeDirectoryProvider>().GetDirectory());
|
||||
|
||||
return llvm::Error::success();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue