mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
Add "-o" option to "expression" which prints the object description if available.
llvm-svn: 115115
This commit is contained in:
@@ -667,7 +667,8 @@ ClangFunction::ExecuteFunction (
|
||||
// Thread we ran the function in may have gone away because we ran the target
|
||||
// Check that it's still there.
|
||||
exe_ctx.thread = exe_ctx.process->GetThreadList().FindThreadByIndexID(tid, true).get();
|
||||
exe_ctx.frame = exe_ctx.thread->GetStackFrameAtIndex(0).get();
|
||||
if (exe_ctx.thread)
|
||||
exe_ctx.frame = exe_ctx.thread->GetStackFrameAtIndex(0).get();
|
||||
|
||||
// Also restore the current process'es selected frame & thread, since this function calling may
|
||||
// be done behind the user's back.
|
||||
|
||||
Reference in New Issue
Block a user