summaryrefslogtreecommitdiffstats
path: root/lldb/source/API
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-12-05 20:38:01 +0000
committerGreg Clayton <gclayton@apple.com>2010-12-05 20:38:01 +0000
commitc5f57830443d93ad7b041dce8b802fc864b47849 (patch)
tree33efdd3a38c0c9a4d429972e8af95d9f0904cbd4 /lldb/source/API
parent6766c420a2740f60c46b89bab92b08d424dba152 (diff)
downloadbcm5719-llvm-c5f57830443d93ad7b041dce8b802fc864b47849.tar.gz
bcm5719-llvm-c5f57830443d93ad7b041dce8b802fc864b47849.zip
Fixed an issue where SBProcess::LoadImage(...) was not returning the image
token. llvm-svn: 120954
Diffstat (limited to 'lldb/source/API')
-rw-r--r--lldb/source/API/SBProcess.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/API/SBProcess.cpp b/lldb/source/API/SBProcess.cpp
index 614c8dcaa01..0c2eac500c7 100644
--- a/lldb/source/API/SBProcess.cpp
+++ b/lldb/source/API/SBProcess.cpp
@@ -716,7 +716,7 @@ uint32_t
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;
}
OpenPOWER on IntegriCloud