aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2022-03-03 11:52:02 -0800
committerJonas Devlieghere <jonas@devlieghere.com>2022-03-03 13:22:38 -0800
commit8b3b66ea63d6469e5a3842627d538805173bda05 (patch)
treed9f0749151e55c5bc9a9f24d31cf5baa1cccfaea /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent29fe819ed3bb236f231bde48130b79a0e702f8b2 (diff)
downloadllvm-8b3b66ea63d6469e5a3842627d538805173bda05.zip
llvm-8b3b66ea63d6469e5a3842627d538805173bda05.tar.gz
llvm-8b3b66ea63d6469e5a3842627d538805173bda05.tar.bz2
[lldb] Remove FileSystem::Initialize from FileCollector
This patch removes the ability to instantiate the LLDB FileSystem class with a FileCollector. It keeps the ability to collect files, but uses the FileCollectorFileSystem to do that transparently. Because the two are intertwined, this patch also removes the finalization logic which copied the files over out of process.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 544a7b7..d9943f0 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -2723,7 +2723,6 @@ bool ScriptInterpreterPythonImpl::LoadScriptingModule(
} else {
FileSpec module_file(pathname);
FileSystem::Instance().Resolve(module_file);
- FileSystem::Instance().Collect(module_file);
fs::file_status st;
std::error_code ec = status(module_file.GetPath(), st);