aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-01 17:09:25 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-01 17:09:25 +0000
commitdbd7fabaa0ae01d3505d52e2be3d794f0dd74a93 (patch)
tree17f0843784cbfba88449a5ea5cca1a9cb35e3998 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent2c22c800a0d049f6300dbf59b400aa1329c21971 (diff)
downloadllvm-dbd7fabaa0ae01d3505d52e2be3d794f0dd74a93.zip
llvm-dbd7fabaa0ae01d3505d52e2be3d794f0dd74a93.tar.gz
llvm-dbd7fabaa0ae01d3505d52e2be3d794f0dd74a93.tar.bz2
[FileSystem] Remove Exists() from FileSpec
This patch removes the Exists method from FileSpec and updates its uses with calls to the FileSystem. Differential revision: https://reviews.llvm.org/D53845 llvm-svn: 345854
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
-rw-r--r--lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
index 7fb9f50..621db714 100644
--- a/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
+++ b/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
@@ -2017,7 +2017,7 @@ ScriptInterpreterPython::ScriptedBreakpointResolverSearchDepth(
StructuredData::ObjectSP
ScriptInterpreterPython::LoadPluginModule(const FileSpec &file_spec,
lldb_private::Status &error) {
- if (!file_spec.Exists()) {
+ if (!FileSystem::Instance().Exists(file_spec)) {
error.SetErrorString("no such file");
return StructuredData::ObjectSP();
}