Lines Matching refs:frame
117 StackFrame *frame = NULL; in GetSymbolContext() local
125 frame = exe_ctx.GetFramePtr(); in GetSymbolContext()
126 if (frame) in GetSymbolContext()
128 sb_sym_ctx.SetSymbolContext(&frame->GetSymbolContext (resolve_scope)); in GetSymbolContext()
145 frame, resolve_scope, sb_sym_ctx.get()); in GetSymbolContext()
159 StackFrame *frame = NULL; in GetModule() local
167 frame = exe_ctx.GetFramePtr(); in GetModule()
168 if (frame) in GetModule()
170 module_sp = frame->GetSymbolContext (eSymbolContextModule).module_sp; in GetModule()
188 frame, module_sp.get()); in GetModule()
201 StackFrame *frame = NULL; in GetCompileUnit() local
209 frame = exe_ctx.GetFramePtr(); in GetCompileUnit()
210 if (frame) in GetCompileUnit()
212 sb_comp_unit.reset (frame->GetSymbolContext (eSymbolContextCompUnit).comp_unit); in GetCompileUnit()
228 frame, sb_comp_unit.get()); in GetCompileUnit()
241 StackFrame *frame = NULL; in GetFunction() local
249 frame = exe_ctx.GetFramePtr(); in GetFunction()
250 if (frame) in GetFunction()
252 sb_function.reset(frame->GetSymbolContext (eSymbolContextFunction).function); in GetFunction()
268 frame, sb_function.get()); in GetFunction()
281 StackFrame *frame = NULL; in GetSymbol() local
289 frame = exe_ctx.GetFramePtr(); in GetSymbol()
290 if (frame) in GetSymbol()
292 sb_symbol.reset(frame->GetSymbolContext (eSymbolContextSymbol).symbol); in GetSymbol()
308 frame, sb_symbol.get()); in GetSymbol()
320 StackFrame *frame = NULL; in GetBlock() local
328 frame = exe_ctx.GetFramePtr(); in GetBlock()
329 if (frame) in GetBlock()
331 sb_block.SetPtr (frame->GetSymbolContext (eSymbolContextBlock).block); in GetBlock()
342 log->Printf ("SBFrame(%p)::GetBlock () => error: process is running", frame); in GetBlock()
347 frame, sb_block.GetPtr()); in GetBlock()
358 StackFrame *frame = NULL; in GetFrameBlock() local
367 frame = exe_ctx.GetFramePtr(); in GetFrameBlock()
368 if (frame) in GetFrameBlock()
370 sb_block.SetPtr(frame->GetFrameBlock ()); in GetFrameBlock()
386 frame, sb_block.GetPtr()); in GetFrameBlock()
398 StackFrame *frame = NULL; in GetLineEntry() local
406 frame = exe_ctx.GetFramePtr(); in GetLineEntry()
407 if (frame) in GetLineEntry()
409 … sb_line_entry.SetLineEntry (frame->GetSymbolContext (eSymbolContextLineEntry).line_entry); in GetLineEntry()
425 frame, sb_line_entry.get()); in GetLineEntry()
435 StackFrame *frame = exe_ctx.GetFramePtr(); in GetFrameID() local
436 if (frame) in GetFrameID()
437 frame_idx = frame->GetFrameIndex (); in GetFrameID()
442 frame, frame_idx); in GetFrameID()
454 StackFrame *frame = NULL; in GetPC() local
462 frame = exe_ctx.GetFramePtr(); in GetPC()
463 if (frame) in GetPC()
465 addr = frame->GetFrameCodeAddress().GetOpcodeLoadAddress (target); in GetPC()
481 log->Printf ("SBFrame(%p)::GetPC () => 0x%" PRIx64, frame, addr); in GetPC()
494 StackFrame *frame = NULL; in SetPC() local
502 frame = exe_ctx.GetFramePtr(); in SetPC()
503 if (frame) in SetPC()
505 ret_val = frame->GetRegisterContext()->SetPC (new_pc); in SetPC()
522 frame, new_pc, ret_val); in SetPC()
535 StackFrame *frame = NULL; in GetSP() local
543 frame = exe_ctx.GetFramePtr(); in GetSP()
544 if (frame) in GetSP()
546 addr = frame->GetRegisterContext()->GetSP(); in GetSP()
561 log->Printf ("SBFrame(%p)::GetSP () => 0x%" PRIx64, frame, addr); in GetSP()
575 StackFrame *frame = NULL; in GetFP() local
583 frame = exe_ctx.GetFramePtr(); in GetFP()
584 if (frame) in GetFP()
586 addr = frame->GetRegisterContext()->GetFP(); in GetFP()
602 log->Printf ("SBFrame(%p)::GetFP () => 0x%" PRIx64, frame, addr); in GetFP()
615 StackFrame *frame = exe_ctx.GetFramePtr(); in GetPCAddress() local
623 frame = exe_ctx.GetFramePtr(); in GetPCAddress()
624 if (frame) in GetPCAddress()
626 sb_addr.SetAddress (&frame->GetFrameCodeAddress()); in GetPCAddress()
641 log->Printf ("SBFrame(%p)::GetPCAddress () => SBAddress(%p)", frame, sb_addr.get()); in GetPCAddress()
656 StackFrame *frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath() local
658 if (frame && target) in GetValueForVariablePath()
660 lldb::DynamicValueType use_dynamic = frame->CalculateTarget()->GetPreferDynamicValue(); in GetValueForVariablePath()
681 StackFrame *frame = NULL; in GetValueForVariablePath() local
689 frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath()
690 if (frame) in GetValueForVariablePath()
694 ValueObjectSP value_sp (frame->GetValueForVariableExpressionPath (var_path, in GetValueForVariablePath()
721 StackFrame *frame = exe_ctx.GetFramePtr(); in FindVariable() local
723 if (frame && target) in FindVariable()
725 lldb::DynamicValueType use_dynamic = frame->CalculateTarget()->GetPreferDynamicValue(); in FindVariable()
750 StackFrame *frame = NULL; in FindVariable() local
758 frame = exe_ctx.GetFramePtr(); in FindVariable()
759 if (frame) in FindVariable()
762 SymbolContext sc (frame->GetSymbolContext (eSymbolContextBlock)); in FindVariable()
781 value_sp = frame->GetValueObjectForFrameVariable(var_sp, eNoDynamicValues); in FindVariable()
800 frame, name, value_sp.get()); in FindVariable()
810 StackFrame *frame = exe_ctx.GetFramePtr(); in FindValue() local
812 if (frame && target) in FindValue()
814 lldb::DynamicValueType use_dynamic = frame->CalculateTarget()->GetPreferDynamicValue(); in FindValue()
837 StackFrame *frame = NULL; in FindValue() local
845 frame = exe_ctx.GetFramePtr(); in FindValue()
846 if (frame) in FindValue()
855 VariableList *variable_list = frame->GetVariableList(true); in FindValue()
857 SymbolContext sc (frame->GetSymbolContext (eSymbolContextBlock)); in FindValue()
877 … value_sp = frame->GetValueObjectForFrameVariable (variable_sp, eNoDynamicValues); in FindValue()
888 RegisterContextSP reg_ctx (frame->GetRegisterContext()); in FindValue()
899 … value_sp = ValueObjectRegister::Create (frame, reg_ctx, reg_idx); in FindValue()
910 RegisterContextSP reg_ctx (frame->GetRegisterContext()); in FindValue()
921 … value_sp = ValueObjectRegisterSet::Create (frame, reg_ctx, set_idx); in FindValue()
961 frame, name, value_type, value_sp.get()); in FindValue()
1017 StackFrame *frame = NULL; in Disassemble() local
1025 frame = exe_ctx.GetFramePtr(); in Disassemble()
1026 if (frame) in Disassemble()
1028 disassembly = frame->Disassemble(); in Disassemble()
1044 log->Printf ("SBFrame(%p)::Disassemble () => %s", frame, disassembly); in Disassemble()
1058 StackFrame *frame = exe_ctx.GetFramePtr(); in GetVariables() local
1060 if (frame && target) in GetVariables()
1062 lldb::DynamicValueType use_dynamic = frame->CalculateTarget()->GetPreferDynamicValue(); in GetVariables()
1081 StackFrame *frame = NULL; in GetVariables() local
1097 frame = exe_ctx.GetFramePtr(); in GetVariables()
1098 if (frame) in GetVariables()
1102 variable_list = frame->GetVariableList(true); in GetVariables()
1134 if (in_scope_only && !variable_sp->IsInScope(frame)) in GetVariables()
1137 … ValueObjectSP valobj_sp(frame->GetValueObjectForFrameVariable (variable_sp, eNoDynamicValues)); in GetVariables()
1162 …log->Printf ("SBFrame(%p)::GetVariables (...) => SBValueList(%p)", frame, value_list.opaque_ptr()); in GetVariables()
1177 StackFrame *frame = NULL; in GetRegisters() local
1185 frame = exe_ctx.GetFramePtr(); in GetRegisters()
1186 if (frame) in GetRegisters()
1188 RegisterContextSP reg_ctx (frame->GetRegisterContext()); in GetRegisters()
1194 value_list.Append(ValueObjectRegisterSet::Create (frame, reg_ctx, set_idx)); in GetRegisters()
1212 … log->Printf ("SBFrame(%p)::GetRegisters () => SBValueList(%p)", frame, value_list.opaque_ptr()); in GetRegisters()
1227 StackFrame *frame = NULL; in FindRegister() local
1235 frame = exe_ctx.GetFramePtr(); in FindRegister()
1236 if (frame) in FindRegister()
1238 RegisterContextSP reg_ctx (frame->GetRegisterContext()); in FindRegister()
1249 value_sp = ValueObjectRegister::Create (frame, reg_ctx, reg_idx); in FindRegister()
1270 log->Printf ("SBFrame(%p)::FindRegister () => SBValue(%p)", frame, value_sp.get()); in FindRegister()
1284 StackFrame *frame; in GetDescription() local
1292 frame = exe_ctx.GetFramePtr(); in GetDescription()
1293 if (frame) in GetDescription()
1295 frame->DumpUsingSettingsFormat (&strm); in GetDescription()
1321 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1323 if (frame && target) in EvaluateExpression()
1326 … lldb::DynamicValueType fetch_dynamic_value = frame->CalculateTarget()->GetPreferDynamicValue(); in EvaluateExpression()
1377 StackFrame *frame = NULL; in EvaluateExpression() local
1386 frame = exe_ctx.GetFramePtr(); in EvaluateExpression()
1387 if (frame) in EvaluateExpression()
1391 frame->DumpUsingSettingsFormat (&frame_description); in EvaluateExpression()
1396 frame, in EvaluateExpression()
1425 frame, in EvaluateExpression()
1439 StackFrame *frame = NULL; in IsInlined() local
1447 frame = exe_ctx.GetFramePtr(); in IsInlined()
1448 if (frame) in IsInlined()
1451 Block *block = frame->GetSymbolContext(eSymbolContextBlock).block; in IsInlined()
1477 StackFrame *frame = NULL; in GetFunctionName() local
1485 frame = exe_ctx.GetFramePtr(); in GetFunctionName()
1486 if (frame) in GetFunctionName()
1488 …SymbolContext sc (frame->GetSymbolContext(eSymbolContextFunction | eSymbolContextBlock | eSymbolCo… in GetFunctionName()