Lines Matching refs:frame
127 if (StackFrame *frame = exe_ctx.GetFramePtr()) in GetSymbolContext() local
128 sb_sym_ctx = frame->GetSymbolContext(scope); in GetSymbolContext()
143 StackFrame *frame = nullptr; in GetModule() local
149 frame = exe_ctx.GetFramePtr(); in GetModule()
150 if (frame) { in GetModule()
151 module_sp = frame->GetSymbolContext(eSymbolContextModule).module_sp; in GetModule()
167 StackFrame *frame = nullptr; in GetCompileUnit() local
173 frame = exe_ctx.GetFramePtr(); in GetCompileUnit()
174 if (frame) { in GetCompileUnit()
176 frame->GetSymbolContext(eSymbolContextCompUnit).comp_unit); in GetCompileUnit()
191 StackFrame *frame = nullptr; in GetFunction() local
197 frame = exe_ctx.GetFramePtr(); in GetFunction()
198 if (frame) { in GetFunction()
200 frame->GetSymbolContext(eSymbolContextFunction).function); in GetFunction()
215 StackFrame *frame = nullptr; in GetSymbol() local
221 frame = exe_ctx.GetFramePtr(); in GetSymbol()
222 if (frame) { in GetSymbol()
223 sb_symbol.reset(frame->GetSymbolContext(eSymbolContextSymbol).symbol); in GetSymbol()
238 StackFrame *frame = nullptr; in GetBlock() local
244 frame = exe_ctx.GetFramePtr(); in GetBlock()
245 if (frame) in GetBlock()
246 sb_block.SetPtr(frame->GetSymbolContext(eSymbolContextBlock).block); in GetBlock()
259 StackFrame *frame = nullptr; in GetFrameBlock() local
265 frame = exe_ctx.GetFramePtr(); in GetFrameBlock()
266 if (frame) in GetFrameBlock()
267 sb_block.SetPtr(frame->GetFrameBlock()); in GetFrameBlock()
280 StackFrame *frame = nullptr; in GetLineEntry() local
286 frame = exe_ctx.GetFramePtr(); in GetLineEntry()
287 if (frame) { in GetLineEntry()
289 frame->GetSymbolContext(eSymbolContextLineEntry).line_entry); in GetLineEntry()
304 StackFrame *frame = exe_ctx.GetFramePtr(); in GetFrameID() local
305 if (frame) in GetFrameID()
306 frame_idx = frame->GetFrameIndex(); in GetFrameID()
317 StackFrame *frame = exe_ctx.GetFramePtr(); in GetCFA() local
318 if (frame) in GetCFA()
319 return frame->GetStackID().GetCallFrameAddress(); in GetCFA()
330 StackFrame *frame = nullptr; in GetPC() local
336 frame = exe_ctx.GetFramePtr(); in GetPC()
337 if (frame) { in GetPC()
338 addr = frame->GetFrameCodeAddress().GetOpcodeLoadAddress( in GetPC()
359 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in SetPC() local
360 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in SetPC()
382 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in GetSP() local
383 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in GetSP()
405 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in GetFP() local
406 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in GetFP()
423 StackFrame *frame = exe_ctx.GetFramePtr(); in GetPCAddress() local
429 frame = exe_ctx.GetFramePtr(); in GetPCAddress()
430 if (frame) in GetPCAddress()
431 sb_addr.SetAddress(frame->GetFrameCodeAddress()); in GetPCAddress()
450 StackFrame *frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath() local
452 if (frame && target) { in GetValueForVariablePath()
454 frame->CalculateTarget()->GetPreferDynamicValue(); in GetValueForVariablePath()
472 StackFrame *frame = nullptr; in GetValueForVariablePath() local
478 frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath()
479 if (frame) { in GetValueForVariablePath()
482 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath()
501 StackFrame *frame = exe_ctx.GetFramePtr(); in FindVariable() local
503 if (frame && target) { in FindVariable()
505 frame->CalculateTarget()->GetPreferDynamicValue(); in FindVariable()
526 StackFrame *frame = nullptr; in FindVariable() local
532 frame = exe_ctx.GetFramePtr(); in FindVariable()
533 if (frame) { in FindVariable()
534 value_sp = frame->FindVariable(ConstString(name)); in FindVariable()
552 StackFrame *frame = exe_ctx.GetFramePtr(); in FindValue() local
554 if (frame && target) { in FindValue()
556 frame->CalculateTarget()->GetPreferDynamicValue(); in FindValue()
576 StackFrame *frame = nullptr; in FindValue() local
582 frame = exe_ctx.GetFramePtr(); in FindValue()
583 if (frame) { in FindValue()
593 SymbolContext sc(frame->GetSymbolContext(eSymbolContextBlock)); in FindValue()
603 [frame](Variable *v) { return v->IsInScope(frame); }, in FindValue()
608 VariableList *frame_vars = frame->GetVariableList(get_file_globals, in FindValue()
617 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue()
625 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
629 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_info); in FindValue()
638 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
648 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx); in FindValue()
721 if (auto *frame = exe_ctx.GetFramePtr()) in Disassemble() local
722 return ConstString(frame->Disassemble()).GetCString(); in Disassemble()
736 StackFrame *frame = exe_ctx.GetFramePtr(); in GetVariables() local
738 if (frame && target) { in GetVariables()
740 frame->CalculateTarget()->GetPreferDynamicValue(); in GetVariables()
786 StackFrame *frame = nullptr; in GetVariables() local
805 frame = exe_ctx.GetFramePtr(); in GetVariables()
806 if (frame) { in GetVariables()
810 variable_list = frame->GetVariableList(true, &var_error); in GetVariables()
850 if (in_scope_only && !variable_sp->IsInScope(frame)) in GetVariables()
853 ValueObjectSP valobj_sp(frame->GetValueObjectForFrameVariable( in GetVariables()
870 auto recognized_frame = frame->GetRecognizedFrame(); in GetVariables()
897 StackFrame *frame = nullptr; in GetRegisters() local
903 frame = exe_ctx.GetFramePtr(); in GetRegisters()
904 if (frame) { in GetRegisters()
905 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in GetRegisters()
910 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx)); in GetRegisters()
928 StackFrame *frame = nullptr; in FindRegister() local
934 frame = exe_ctx.GetFramePtr(); in FindRegister()
935 if (frame) { in FindRegister()
936 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindRegister()
940 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_info); in FindRegister()
958 StackFrame *frame = nullptr; in GetDescriptionWithFormat() local
971 frame = exe_ctx.GetFramePtr(); in GetDescriptionWithFormat()
972 if (frame && in GetDescriptionWithFormat()
973 frame->DumpUsingFormat(strm, format.GetFormatEntrySP().get())) { in GetDescriptionWithFormat()
993 StackFrame *frame; in GetDescription() local
999 frame = exe_ctx.GetFramePtr(); in GetDescription()
1000 if (frame) { in GetDescription()
1001 frame->DumpUsingSettingsFormat(&strm); in GetDescription()
1018 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1020 if (frame && target) { in EvaluateExpression()
1023 frame->CalculateTarget()->GetPreferDynamicValue(); in EvaluateExpression()
1029 language = frame->GetLanguage(); in EvaluateExpression()
1054 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1059 if (!language && frame) in EvaluateExpression()
1060 language = frame->GetLanguage(); in EvaluateExpression()
1077 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1082 if (!language && frame) in EvaluateExpression()
1083 language = frame->GetLanguage(); in EvaluateExpression()
1105 StackFrame *frame = nullptr; in EvaluateExpression() local
1112 frame = exe_ctx.GetFramePtr(); in EvaluateExpression()
1113 if (frame) { in EvaluateExpression()
1117 frame->DumpUsingSettingsFormat(&frame_description); in EvaluateExpression()
1125 target->EvaluateExpression(expr, frame, expr_value_sp, options.ref()); in EvaluateExpression()
1168 StackFrame *frame = nullptr; in IsInlined() local
1174 frame = exe_ctx.GetFramePtr(); in IsInlined()
1175 if (frame) { in IsInlined()
1177 Block *block = frame->GetSymbolContext(eSymbolContextBlock).block; in IsInlined()
1198 StackFrame *frame = exe_ctx.GetFramePtr(); in IsArtificial() local
1199 if (frame) in IsArtificial()
1200 return frame->IsArtificial(); in IsArtificial()
1217 StackFrame *frame = nullptr; in GuessLanguage() local
1223 frame = exe_ctx.GetFramePtr(); in GuessLanguage()
1224 if (frame) { in GuessLanguage()
1225 return frame->GuessLanguage().AsLanguageType(); in GuessLanguage()
1239 StackFrame *frame = nullptr; in GetFunctionName() local
1245 frame = exe_ctx.GetFramePtr(); in GetFunctionName()
1246 if (frame) { in GetFunctionName()
1247 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetFunctionName()
1282 StackFrame *frame = nullptr; in GetDisplayFunctionName() local
1288 frame = exe_ctx.GetFramePtr(); in GetDisplayFunctionName()
1289 if (frame) { in GetDisplayFunctionName()
1290 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetDisplayFunctionName()