summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/common/Symbols.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Host/common/Symbols.cpp')
-rw-r--r--lldb/source/Host/common/Symbols.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Symbols.cpp b/lldb/source/Host/common/Symbols.cpp
index 0a1eb8fd18f..5297ff040b0 100644
--- a/lldb/source/Host/common/Symbols.cpp
+++ b/lldb/source/Host/common/Symbols.cpp
@@ -311,7 +311,7 @@ FileSpec Symbols::LocateExecutableSymbolFile(const ModuleSpec &module_spec) {
for (size_t idx = 0; idx < num_directories; ++idx) {
FileSpec dirspec = debug_file_search_paths.GetFileSpecAtIndex(idx);
FileSystem::Instance().Resolve(dirspec);
- if (!llvm::sys::fs::is_directory(dirspec.GetPath()))
+ if (!FileSystem::Instance().IsDirectory(dirspec))
continue;
std::vector<std::string> files;
OpenPOWER on IntegriCloud