diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2022-03-03 13:56:59 -0800 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2022-03-03 13:57:33 -0800 |
| commit | bf414cfbf70570eaba282ae0561324794269d2d1 (patch) | |
| tree | 3e04f4be3b96841f784e37f24217a0844ee82bc7 | |
| parent | e0adc3be132922776a867a623959e176f29f9965 (diff) | |
| download | llvm-bf414cfbf70570eaba282ae0561324794269d2d1.zip llvm-bf414cfbf70570eaba282ae0561324794269d2d1.tar.gz llvm-bf414cfbf70570eaba282ae0561324794269d2d1.tar.bz2 | |
[lldb] Fix the build after 8b3b66ea63d6
Remove remaining calls to FileSystem::Collect.
| -rw-r--r-- | lldb/source/Host/windows/FileSystem.cpp | 2 | ||||
| -rw-r--r-- | lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/lldb/source/Host/windows/FileSystem.cpp b/lldb/source/Host/windows/FileSystem.cpp index 94872c9..cbd1915 100644 --- a/lldb/source/Host/windows/FileSystem.cpp +++ b/lldb/source/Host/windows/FileSystem.cpp @@ -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; diff --git a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp index c677abf..5b9d1b7 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp +++ b/lldb/source/Plugins/ScriptInterpreter/Lua/ScriptInterpreterLua.cpp @@ -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))); |
