Skip to content

Commit bf414cf

Browse files
committed
[lldb] Fix the build after 8b3b66e
Remove remaining calls to FileSystem::Collect.
1 parent e0adc3b commit bf414cf

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

lldb/source/Host/windows/FileSystem.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) {
8686
}
8787

8888
FILE *FileSystem::Fopen(const char *path, const char *mode) {
89-
Collect(path);
9089
std::wstring wpath, wmode;
9190
if (!llvm::ConvertUTF8toWide(path, wpath))
9291
return nullptr;
@@ -99,7 +98,6 @@ FILE *FileSystem::Fopen(const char *path, const char *mode) {
9998
}
10099

101100
int FileSystem::Open(const char *path, int flags, int mode) {
102-
Collect(path);
103101
std::wstring wpath;
104102
if (!llvm::ConvertUTF8toWide(path, wpath))
105103
return -1;

lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,6 @@ bool ScriptInterpreterLua::LoadScriptingModule(
217217
lldb_private::Status &error, StructuredData::ObjectSP *module_sp,
218218
FileSpec extra_search_dir) {
219219

220-
FileSystem::Instance().Collect(filename);
221220
if (llvm::Error e = m_lua->LoadModule(filename)) {
222221
error.SetErrorStringWithFormatv("lua failed to import '{0}': {1}\n",
223222
filename, llvm::toString(std::move(e)));

0 commit comments

Comments
 (0)