mirror of
https://github.com/intel/llvm.git
synced 2026-01-24 17:01:00 +08:00
(no commit message)
llvm-svn: 150492
This commit is contained in:
@@ -107,6 +107,20 @@ AppleObjCRuntime::GetObjectDescription (Stream &strm, Value &value, ExecutionCon
|
||||
Value ret;
|
||||
ret.SetContext(Value::eContextTypeClangType, return_qualtype);
|
||||
|
||||
if (exe_ctx.GetFramePtr() == NULL)
|
||||
{
|
||||
Thread *thread = exe_ctx.GetThreadPtr();
|
||||
if (thread == NULL)
|
||||
{
|
||||
exe_ctx.SetThreadSP(process->GetThreadList().GetSelectedThread());
|
||||
thread = exe_ctx.GetThreadPtr();
|
||||
}
|
||||
if (thread)
|
||||
{
|
||||
exe_ctx.SetFrameSP(thread->GetSelectedFrame());
|
||||
}
|
||||
}
|
||||
|
||||
// Now we're ready to call the function:
|
||||
ClangFunction func (*exe_ctx.GetBestExecutionContextScope(),
|
||||
ast_context,
|
||||
|
||||
Reference in New Issue
Block a user