Fixed an issue where SBProcess::LoadImage(...) was not returning the image
token.
git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@120954 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/API/SBProcess.cpp b/source/API/SBProcess.cpp
index 614c8dc..0c2eac50 100644
--- a/source/API/SBProcess.cpp
+++ b/source/API/SBProcess.cpp
@@ -716,7 +716,7 @@
SBProcess::LoadImage (lldb::SBFileSpec &sb_image_spec, lldb::SBError &sb_error)
{
if (m_opaque_sp)
- m_opaque_sp->LoadImage (*sb_image_spec, sb_error.ref());
+ return m_opaque_sp->LoadImage (*sb_image_spec, sb_error.ref());
return LLDB_INVALID_IMAGE_TOKEN;
}