Lines Matching refs:frame

113   StackFrame *frame = nullptr;  in GetSymbolContext()  local
119 frame = exe_ctx.GetFramePtr(); in GetSymbolContext()
120 if (frame) { in GetSymbolContext()
121 sb_sym_ctx.SetSymbolContext(&frame->GetSymbolContext(scope)); in GetSymbolContext()
137 static_cast<void *>(frame), resolve_scope, in GetSymbolContext()
150 StackFrame *frame = nullptr; in GetModule() local
156 frame = exe_ctx.GetFramePtr(); in GetModule()
157 if (frame) { in GetModule()
158 module_sp = frame->GetSymbolContext(eSymbolContextModule).module_sp; in GetModule()
173 static_cast<void *>(frame), in GetModule()
185 StackFrame *frame = nullptr; in GetCompileUnit() local
191 frame = exe_ctx.GetFramePtr(); in GetCompileUnit()
192 if (frame) { in GetCompileUnit()
194 frame->GetSymbolContext(eSymbolContextCompUnit).comp_unit); in GetCompileUnit()
207 static_cast<void *>(frame), in GetCompileUnit()
219 StackFrame *frame = nullptr; in GetFunction() local
225 frame = exe_ctx.GetFramePtr(); in GetFunction()
226 if (frame) { in GetFunction()
228 frame->GetSymbolContext(eSymbolContextFunction).function); in GetFunction()
241 static_cast<void *>(frame), in GetFunction()
253 StackFrame *frame = nullptr; in GetSymbol() local
259 frame = exe_ctx.GetFramePtr(); in GetSymbol()
260 if (frame) { in GetSymbol()
261 sb_symbol.reset(frame->GetSymbolContext(eSymbolContextSymbol).symbol); in GetSymbol()
274 static_cast<void *>(frame), in GetSymbol()
285 StackFrame *frame = nullptr; in GetBlock() local
291 frame = exe_ctx.GetFramePtr(); in GetBlock()
292 if (frame) { in GetBlock()
293 sb_block.SetPtr(frame->GetSymbolContext(eSymbolContextBlock).block); in GetBlock()
302 static_cast<void *>(frame)); in GetBlock()
307 static_cast<void *>(frame), in GetBlock()
317 StackFrame *frame = nullptr; in GetFrameBlock() local
324 frame = exe_ctx.GetFramePtr(); in GetFrameBlock()
325 if (frame) { in GetFrameBlock()
326 sb_block.SetPtr(frame->GetFrameBlock()); in GetFrameBlock()
339 static_cast<void *>(frame), in GetFrameBlock()
350 StackFrame *frame = nullptr; in GetLineEntry() local
356 frame = exe_ctx.GetFramePtr(); in GetLineEntry()
357 if (frame) { in GetLineEntry()
359 frame->GetSymbolContext(eSymbolContextLineEntry).line_entry); in GetLineEntry()
372 static_cast<void *>(frame), in GetLineEntry()
383 StackFrame *frame = exe_ctx.GetFramePtr(); in GetFrameID() local
384 if (frame) in GetFrameID()
385 frame_idx = frame->GetFrameIndex(); in GetFrameID()
389 log->Printf("SBFrame(%p)::GetFrameID () => %u", static_cast<void *>(frame), in GetFrameID()
398 StackFrame *frame = exe_ctx.GetFramePtr(); in GetCFA() local
399 if (frame) in GetCFA()
400 return frame->GetStackID().GetCallFrameAddress(); in GetCFA()
410 StackFrame *frame = nullptr; in GetPC() local
416 frame = exe_ctx.GetFramePtr(); in GetPC()
417 if (frame) { in GetPC()
418 addr = frame->GetFrameCodeAddress().GetOpcodeLoadAddress( in GetPC()
433 static_cast<void *>(frame), addr); in GetPC()
444 StackFrame *frame = nullptr; in SetPC() local
450 frame = exe_ctx.GetFramePtr(); in SetPC()
451 if (frame) { in SetPC()
452 ret_val = frame->GetRegisterContext()->SetPC(new_pc); in SetPC()
466 static_cast<void *>(frame), new_pc, ret_val); in SetPC()
477 StackFrame *frame = nullptr; in GetSP() local
483 frame = exe_ctx.GetFramePtr(); in GetSP()
484 if (frame) { in GetSP()
485 addr = frame->GetRegisterContext()->GetSP(); in GetSP()
498 static_cast<void *>(frame), addr); in GetSP()
509 StackFrame *frame = nullptr; in GetFP() local
515 frame = exe_ctx.GetFramePtr(); in GetFP()
516 if (frame) { in GetFP()
517 addr = frame->GetRegisterContext()->GetFP(); in GetFP()
531 static_cast<void *>(frame), addr); in GetFP()
541 StackFrame *frame = exe_ctx.GetFramePtr(); in GetPCAddress() local
547 frame = exe_ctx.GetFramePtr(); in GetPCAddress()
548 if (frame) { in GetPCAddress()
549 sb_addr.SetAddress(&frame->GetFrameCodeAddress()); in GetPCAddress()
562 static_cast<void *>(frame), static_cast<void *>(sb_addr.get())); in GetPCAddress()
573 StackFrame *frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath() local
575 if (frame && target) { in GetValueForVariablePath()
577 frame->CalculateTarget()->GetPreferDynamicValue(); in GetValueForVariablePath()
597 StackFrame *frame = nullptr; in GetValueForVariablePath() local
603 frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath()
604 if (frame) { in GetValueForVariablePath()
607 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath()
632 StackFrame *frame = exe_ctx.GetFramePtr(); in FindVariable() local
634 if (frame && target) { in FindVariable()
636 frame->CalculateTarget()->GetPreferDynamicValue(); in FindVariable()
658 StackFrame *frame = nullptr; in FindVariable() local
664 frame = exe_ctx.GetFramePtr(); in FindVariable()
665 if (frame) { in FindVariable()
666 value_sp = frame->FindVariable(ConstString(name)); in FindVariable()
683 static_cast<void *>(frame), name, in FindVariable()
694 StackFrame *frame = exe_ctx.GetFramePtr(); in FindValue() local
696 if (frame && target) { in FindValue()
698 frame->CalculateTarget()->GetPreferDynamicValue(); in FindValue()
719 StackFrame *frame = nullptr; in FindValue() local
725 frame = exe_ctx.GetFramePtr(); in FindValue()
726 if (frame) { in FindValue()
736 SymbolContext sc(frame->GetSymbolContext(eSymbolContextBlock)); in FindValue()
746 [frame](Variable *v) { return v->IsInScope(frame); }, in FindValue()
750 VariableList *frame_vars = frame->GetVariableList(get_file_globals); in FindValue()
758 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue()
766 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
776 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_idx); in FindValue()
787 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
797 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx); in FindValue()
833 static_cast<void *>(frame), name, value_type, in FindValue()
875 StackFrame *frame = nullptr; in Disassemble() local
881 frame = exe_ctx.GetFramePtr(); in Disassemble()
882 if (frame) { in Disassemble()
883 disassembly = frame->Disassemble(); in Disassemble()
896 log->Printf("SBFrame(%p)::Disassemble () => %s", static_cast<void *>(frame), in Disassemble()
908 StackFrame *frame = exe_ctx.GetFramePtr(); in GetVariables() local
910 if (frame && target) { in GetVariables()
912 frame->CalculateTarget()->GetPreferDynamicValue(); in GetVariables()
955 StackFrame *frame = nullptr; in GetVariables() local
980 frame = exe_ctx.GetFramePtr(); in GetVariables()
981 if (frame) { in GetVariables()
984 variable_list = frame->GetVariableList(true); in GetVariables()
1017 if (in_scope_only && !variable_sp->IsInScope(frame)) in GetVariables()
1020 ValueObjectSP valobj_sp(frame->GetValueObjectForFrameVariable( in GetVariables()
1036 auto recognized_frame = frame->GetRecognizedFrame(); in GetVariables()
1062 static_cast<void *>(frame), in GetVariables()
1075 StackFrame *frame = nullptr; in GetRegisters() local
1081 frame = exe_ctx.GetFramePtr(); in GetRegisters()
1082 if (frame) { in GetRegisters()
1083 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in GetRegisters()
1088 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx)); in GetRegisters()
1104 static_cast<void *>(frame), in GetRegisters()
1118 StackFrame *frame = nullptr; in FindRegister() local
1124 frame = exe_ctx.GetFramePtr(); in FindRegister()
1125 if (frame) { in FindRegister()
1126 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindRegister()
1136 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_idx); in FindRegister()
1155 static_cast<void *>(frame), in FindRegister()
1168 StackFrame *frame; in GetDescription() local
1174 frame = exe_ctx.GetFramePtr(); in GetDescription()
1175 if (frame) { in GetDescription()
1176 frame->DumpUsingSettingsFormat(&strm); in GetDescription()
1198 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1200 if (frame && target) { in EvaluateExpression()
1203 frame->CalculateTarget()->GetPreferDynamicValue(); in EvaluateExpression()
1210 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1226 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1230 else if (frame) in EvaluateExpression()
1231 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1245 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1249 else if (frame) in EvaluateExpression()
1250 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1280 StackFrame *frame = nullptr; in EvaluateExpression() local
1287 frame = exe_ctx.GetFramePtr(); in EvaluateExpression()
1288 if (frame) { in EvaluateExpression()
1292 frame->DumpUsingSettingsFormat(&frame_description); in EvaluateExpression()
1300 exe_results = target->EvaluateExpression(expr, frame, expr_value_sp, in EvaluateExpression()
1324 static_cast<void *>(frame), expr, in EvaluateExpression()
1340 StackFrame *frame = nullptr; in IsInlined() local
1346 frame = exe_ctx.GetFramePtr(); in IsInlined()
1347 if (frame) { in IsInlined()
1349 Block *block = frame->GetSymbolContext(eSymbolContextBlock).block; in IsInlined()
1373 StackFrame *frame = exe_ctx.GetFramePtr(); in IsArtificial() local
1374 if (frame) in IsArtificial()
1375 return frame->IsArtificial(); in IsArtificial()
1388 StackFrame *frame = nullptr; in GuessLanguage() local
1394 frame = exe_ctx.GetFramePtr(); in GuessLanguage()
1395 if (frame) { in GuessLanguage()
1396 return frame->GuessLanguage(); in GuessLanguage()
1409 StackFrame *frame = nullptr; in GetFunctionName() local
1415 frame = exe_ctx.GetFramePtr(); in GetFunctionName()
1416 if (frame) { in GetFunctionName()
1417 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetFunctionName()
1459 StackFrame *frame = nullptr; in GetDisplayFunctionName() local
1465 frame = exe_ctx.GetFramePtr(); in GetDisplayFunctionName()
1466 if (frame) { in GetDisplayFunctionName()
1467 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetDisplayFunctionName()