summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/DynamicLoader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/DynamicLoader.cpp')
-rw-r--r--lldb/source/Core/DynamicLoader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Core/DynamicLoader.cpp b/lldb/source/Core/DynamicLoader.cpp
index 576ec1eaedd..f1bc6ddbea4 100644
--- a/lldb/source/Core/DynamicLoader.cpp
+++ b/lldb/source/Core/DynamicLoader.cpp
@@ -81,7 +81,7 @@ ModuleSP DynamicLoader::GetTargetExecutable() {
ModuleSP executable = target.GetExecutableModule();
if (executable) {
- if (executable->GetFileSpec().Exists()) {
+ if (FileSystem::Instance().Exists(executable->GetFileSpec())) {
ModuleSpec module_spec(executable->GetFileSpec(),
executable->GetArchitecture());
auto module_sp = std::make_shared<Module>(module_spec);
OpenPOWER on IntegriCloud