summaryrefslogtreecommitdiffstats
path: root/source/API/SBModule.cpp
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2013-12-03 18:51:59 +0000
committeremaste <emaste@FreeBSD.org>2013-12-03 18:51:59 +0000
commit0f31a1ef7ecf609d469ee5b34b3f0cb24ae3492d (patch)
treeb2051e4e4856cc58ac7e2d20242b870b4f355ca1 /source/API/SBModule.cpp
parentc727fe695d28799acb499e9961f11ec07d4f9fe2 (diff)
downloadFreeBSD-src-0f31a1ef7ecf609d469ee5b34b3f0cb24ae3492d.zip
FreeBSD-src-0f31a1ef7ecf609d469ee5b34b3f0cb24ae3492d.tar.gz
Import lldb as of SVN r196259 (git 3be86e5)
(A number of files not required for the FreeBSD build have been removed.) Sponsored by: DARPA, AFRL
Diffstat (limited to 'source/API/SBModule.cpp')
-rw-r--r--source/API/SBModule.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/source/API/SBModule.cpp b/source/API/SBModule.cpp
index 5f5fc92..0285cf3 100644
--- a/source/API/SBModule.cpp
+++ b/source/API/SBModule.cpp
@@ -162,6 +162,27 @@ SBModule::SetPlatformFileSpec (const lldb::SBFileSpec &platform_file)
return result;
}
+lldb::SBFileSpec
+SBModule::GetRemoteInstallFileSpec ()
+{
+ SBFileSpec sb_file_spec;
+ ModuleSP module_sp (GetSP ());
+ if (module_sp)
+ sb_file_spec.SetFileSpec (module_sp->GetRemoteInstallFileSpec());
+ return sb_file_spec;
+}
+
+bool
+SBModule::SetRemoteInstallFileSpec (lldb::SBFileSpec &file)
+{
+ ModuleSP module_sp (GetSP ());
+ if (module_sp)
+ {
+ module_sp->SetRemoteInstallFileSpec(file.ref());
+ return true;
+ }
+ return false;
+}
const uint8_t *
OpenPOWER on IntegriCloud