summaryrefslogtreecommitdiffstats
path: root/lldb/source/Interpreter/OptionValuePathMappings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Interpreter/OptionValuePathMappings.cpp')
-rw-r--r--lldb/source/Interpreter/OptionValuePathMappings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/source/Interpreter/OptionValuePathMappings.cpp b/lldb/source/Interpreter/OptionValuePathMappings.cpp
index 8390a8cf5ab..baed0a226a9 100644
--- a/lldb/source/Interpreter/OptionValuePathMappings.cpp
+++ b/lldb/source/Interpreter/OptionValuePathMappings.cpp
@@ -13,6 +13,7 @@
// C++ Includes
// Other libraries and framework includes
// Project includes
+#include "lldb/Host/FileSystem.h"
#include "lldb/Host/StringConvert.h"
#include "lldb/Utility/Args.h"
#include "lldb/Utility/FileSpec.h"
@@ -23,7 +24,7 @@ using namespace lldb_private;
namespace {
static bool VerifyPathExists(const char *path) {
if (path && path[0])
- return FileSpec(path, false).Exists();
+ return FileSystem::Instance().Exists(path);
else
return false;
}
OpenPOWER on IntegriCloud