commit | dbd7fabaa0ae01d3505d52e2be3d794f0dd74a93 | [log] [tgz] |
---|---|---|
author | Jonas Devlieghere <jonas@devlieghere.com> | Thu Nov 01 17:09:25 2018 +0000 |
committer | Jonas Devlieghere <jonas@devlieghere.com> | Thu Nov 01 17:09:25 2018 +0000 |
tree | 17f0843784cbfba88449a5ea5cca1a9cb35e3998 | |
parent | 2c22c800a0d049f6300dbf59b400aa1329c21971 [diff] [blame] |
[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
diff --git a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp index 618f980..0585663 100644 --- a/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp +++ b/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp
@@ -3220,7 +3220,7 @@ if (m_debugged_process_up ->GetLoadedModuleFileSpec(module_path.c_str(), file_spec) .Success()) { - if (file_spec.Exists()) + if (FileSystem::Instance().Exists(file_spec)) return file_spec; } }