diff options
author | emaste <emaste@FreeBSD.org> | 2013-12-03 19:23:54 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2013-12-03 19:23:54 +0000 |
commit | e75cbd9d8d61004a7f53a7bc08490fa932daa589 (patch) | |
tree | ba627d06612b80ba6e3256d311edf689335b6603 /contrib/llvm/tools/lldb/source/API/SBModule.cpp | |
parent | 6221ad905044551fac57fb9353660c4e20e86c1d (diff) | |
parent | 0f31a1ef7ecf609d469ee5b34b3f0cb24ae3492d (diff) | |
download | FreeBSD-src-e75cbd9d8d61004a7f53a7bc08490fa932daa589.zip FreeBSD-src-e75cbd9d8d61004a7f53a7bc08490fa932daa589.tar.gz |
Update LLDB to upstream r196259 snapshot
Sponsored by: DARPA, AFRL
Diffstat (limited to 'contrib/llvm/tools/lldb/source/API/SBModule.cpp')
-rw-r--r-- | contrib/llvm/tools/lldb/source/API/SBModule.cpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/llvm/tools/lldb/source/API/SBModule.cpp b/contrib/llvm/tools/lldb/source/API/SBModule.cpp index 5f5fc92..0285cf3 100644 --- a/contrib/llvm/tools/lldb/source/API/SBModule.cpp +++ b/contrib/llvm/tools/lldb/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 * |