[lldb] Fix the build after 8b3b66ea63

Remove remaining calls to FileSystem::Collect.
This commit is contained in:
Jonas Devlieghere 2022-03-03 13:56:59 -08:00
parent e0adc3be13
commit bf414cfbf7
No known key found for this signature in database
GPG Key ID: 49CC0BD90FDEED4D
2 changed files with 0 additions and 3 deletions

View File

@ -86,7 +86,6 @@ Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
}
FILE *FileSystem::Fopen(const char *path, const char *mode) {
Collect(path);
std::wstring wpath, wmode;
if (!llvm::ConvertUTF8toWide(path, wpath))
return nullptr;
@ -99,7 +98,6 @@ FILE *FileSystem::Fopen(const char *path, const char *mode) {
}
int FileSystem::Open(const char *path, int flags, int mode) {
Collect(path);
std::wstring wpath;
if (!llvm::ConvertUTF8toWide(path, wpath))
return -1;

View File

@ -217,7 +217,6 @@ bool ScriptInterpreterLua::LoadScriptingModule(
lldb_private::Status &error, StructuredData::ObjectSP *module_sp,
FileSpec extra_search_dir) {
FileSystem::Instance().Collect(filename);
if (llvm::Error e = m_lua->LoadModule(filename)) {
error.SetErrorStringWithFormatv("lua failed to import '{0}': {1}\n",
filename, llvm::toString(std::move(e)));