projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fe4c67
)
Make sure a value is returned for Thread::ReturnFromFrame().
author
Greg Clayton
<gclayton@apple.com>
Fri, 1 Feb 2013 02:52:31 +0000
(
02:52
+0000)
committer
Greg Clayton
<gclayton@apple.com>
Fri, 1 Feb 2013 02:52:31 +0000
(
02:52
+0000)
llvm-svn: 174141
lldb/source/Target/Thread.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/Thread.cpp
b/lldb/source/Target/Thread.cpp
index
a794c98
..
f0893ba
100644
(file)
--- a/
lldb/source/Target/Thread.cpp
+++ b/
lldb/source/Target/Thread.cpp
@@
-1585,18
+1585,17
@@
Thread::ReturnFromFrame (lldb::StackFrameSP frame_sp, lldb::ValueObjectSP return
thread->ClearStackFrames();
if (broadcast && EventTypeHasListeners(eBroadcastBitStackChanged))
BroadcastEvent(eBroadcastBitStackChanged, new ThreadEventData (this->shared_from_this()));
- return return_error;
}
else
{
return_error.SetErrorString("Could not reset register values.");
- return return_error;
}
}
else
{
return_error.SetErrorString("Returned past top frame.");
}
+ return return_error;
}
void