mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2026-01-31 01:35:20 +01:00
[lldb] Add reproducer verifier
Add a reproducer verifier that catches: - Missing or invalid home directory - Missing or invalid working directory - Missing or invalid module/symbol paths - Missing files from the VFS The verifier is enabled by default during replay, but can be skipped by passing --reproducer-no-verify. Differential revision: https://reviews.llvm.org/D86497
This commit is contained in:
@@ -1159,6 +1159,17 @@ StringRef RedirectingFileSystem::getExternalContentsPrefixDir() const {
|
||||
return ExternalContentsPrefixDir;
|
||||
}
|
||||
|
||||
void RedirectingFileSystem::setFallthrough(bool Fallthrough) {
|
||||
IsFallthrough = Fallthrough;
|
||||
}
|
||||
|
||||
std::vector<StringRef> RedirectingFileSystem::getRoots() const {
|
||||
std::vector<StringRef> R;
|
||||
for (const auto &Root : Roots)
|
||||
R.push_back(Root->getName());
|
||||
return R;
|
||||
}
|
||||
|
||||
void RedirectingFileSystem::dump(raw_ostream &OS) const {
|
||||
for (const auto &Root : Roots)
|
||||
dumpEntry(OS, Root.get());
|
||||
|
||||
Reference in New Issue
Block a user