summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx/objcxx
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2018-11-01 17:09:22 +0000
committerJonas Devlieghere <jonas@devlieghere.com>2018-11-01 17:09:22 +0000
commit2c22c800a0d049f6300dbf59b400aa1329c21971 (patch)
treeef96df15a0bd1b4469b4991df87ddd5e715a9179 /lldb/source/Host/macosx/objcxx
parent73bb11994064f5172bf454c3dae523b9661642a8 (diff)
downloadbcm5719-llvm-2c22c800a0d049f6300dbf59b400aa1329c21971.tar.gz
bcm5719-llvm-2c22c800a0d049f6300dbf59b400aa1329c21971.zip
[FileSystem] Remove ResolveExecutableLocation() from FileSpec
This patch removes the ResolveExecutableLocation method from FileSpec and updates its uses with calls to the FileSystem. Differential revision: https://reviews.llvm.org/D53834 llvm-svn: 345853
Diffstat (limited to 'lldb/source/Host/macosx/objcxx')
-rw-r--r--lldb/source/Host/macosx/objcxx/Host.mm5
1 files changed, 3 insertions, 2 deletions
diff --git a/lldb/source/Host/macosx/objcxx/Host.mm b/lldb/source/Host/macosx/objcxx/Host.mm
index a70bf0421ec..c113a17f20f 100644
--- a/lldb/source/Host/macosx/objcxx/Host.mm
+++ b/lldb/source/Host/macosx/objcxx/Host.mm
@@ -55,10 +55,11 @@
#include <unistd.h>
#include "lldb/Host/ConnectionFileDescriptor.h"
+#include "lldb/Host/FileSystem.h"
#include "lldb/Host/HostInfo.h"
#include "lldb/Host/ThreadLauncher.h"
-#include "lldb/Target/ProcessLaunchInfo.h"
#include "lldb/Target/Process.h"
+#include "lldb/Target/ProcessLaunchInfo.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/CleanUp.h"
#include "lldb/Utility/DataBufferHeap.h"
@@ -1282,7 +1283,7 @@ Status Host::LaunchProcess(ProcessLaunchInfo &launch_info) {
status(exe_spec.GetPath(), stats);
}
if (!exists(stats)) {
- exe_spec.ResolveExecutableLocation();
+ FileSystem::Instance().ResolveExecutableLocation(exe_spec);
status(exe_spec.GetPath(), stats);
}
if (!exists(stats)) {
OpenPOWER on IntegriCloud