[lldb-dev] [Bug 25070] New: SBThread::ReturnFromFrame does not work
lldb-dev at lists.llvm.org
Tue Oct 6 04:25:28 PDT 2015
Bug ID: 25070
Summary: SBThread::ReturnFromFrame does not work
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: berykubik at gmail.com
CC: llvm-bugs at lists.llvm.org
Created attachment 15010
C++ source with test program
I'm using lldb 3.8 compiled from trunk, but I also experienced this issue in
When I use SBThread::ReturnFromFrame when in a C++ function that returns some
value, the SBValue doesn't get set, even though no error is returned. Is this
function currently implemented?
seems to imply that it's not.
Example script (I attached the C++ source test.cpp):
debugger = lldb.SBDebugger.Create()
target = debugger.CreateTarget("./test")
process = target.LaunchSimple(, , os.getcwd())
time.sleep(1) # wait for bp to be hit
thread = process.GetSelectedThread()
frame = thread.GetSelectedFrame()
value = lldb.SBValue()
error = thread.ReturnFromFrame(frame, value)
# error is marked as sucesss, but value contains nothing
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev