Lines Matching refs:frame
125 if (StackFrame *frame = exe_ctx.GetFramePtr()) in GetSymbolContext() local
126 sb_sym_ctx = frame->GetSymbolContext(scope); in GetSymbolContext()
141 StackFrame *frame = nullptr; in GetModule() local
147 frame = exe_ctx.GetFramePtr(); in GetModule()
148 if (frame) { in GetModule()
149 module_sp = frame->GetSymbolContext(eSymbolContextModule).module_sp; in GetModule()
165 StackFrame *frame = nullptr; in GetCompileUnit() local
171 frame = exe_ctx.GetFramePtr(); in GetCompileUnit()
172 if (frame) { in GetCompileUnit()
174 frame->GetSymbolContext(eSymbolContextCompUnit).comp_unit); in GetCompileUnit()
189 StackFrame *frame = nullptr; in GetFunction() local
195 frame = exe_ctx.GetFramePtr(); in GetFunction()
196 if (frame) { in GetFunction()
198 frame->GetSymbolContext(eSymbolContextFunction).function); in GetFunction()
213 StackFrame *frame = nullptr; in GetSymbol() local
219 frame = exe_ctx.GetFramePtr(); in GetSymbol()
220 if (frame) { in GetSymbol()
221 sb_symbol.reset(frame->GetSymbolContext(eSymbolContextSymbol).symbol); in GetSymbol()
236 StackFrame *frame = nullptr; in GetBlock() local
242 frame = exe_ctx.GetFramePtr(); in GetBlock()
243 if (frame) in GetBlock()
244 sb_block.SetPtr(frame->GetSymbolContext(eSymbolContextBlock).block); in GetBlock()
257 StackFrame *frame = nullptr; in GetFrameBlock() local
263 frame = exe_ctx.GetFramePtr(); in GetFrameBlock()
264 if (frame) in GetFrameBlock()
265 sb_block.SetPtr(frame->GetFrameBlock()); in GetFrameBlock()
278 StackFrame *frame = nullptr; in GetLineEntry() local
284 frame = exe_ctx.GetFramePtr(); in GetLineEntry()
285 if (frame) { in GetLineEntry()
287 frame->GetSymbolContext(eSymbolContextLineEntry).line_entry); in GetLineEntry()
302 StackFrame *frame = exe_ctx.GetFramePtr(); in GetFrameID() local
303 if (frame) in GetFrameID()
304 frame_idx = frame->GetFrameIndex(); in GetFrameID()
315 StackFrame *frame = exe_ctx.GetFramePtr(); in GetCFA() local
316 if (frame) in GetCFA()
317 return frame->GetStackID().GetCallFrameAddress(); in GetCFA()
328 StackFrame *frame = nullptr; in GetPC() local
334 frame = exe_ctx.GetFramePtr(); in GetPC()
335 if (frame) { in GetPC()
336 addr = frame->GetFrameCodeAddress().GetOpcodeLoadAddress( in GetPC()
357 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in SetPC() local
358 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in SetPC()
380 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in GetSP() local
381 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in GetSP()
403 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in GetFP() local
404 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in GetFP()
421 StackFrame *frame = exe_ctx.GetFramePtr(); in GetPCAddress() local
427 frame = exe_ctx.GetFramePtr(); in GetPCAddress()
428 if (frame) in GetPCAddress()
429 sb_addr.SetAddress(frame->GetFrameCodeAddress()); in GetPCAddress()
448 StackFrame *frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath() local
450 if (frame && target) { in GetValueForVariablePath()
452 frame->CalculateTarget()->GetPreferDynamicValue(); in GetValueForVariablePath()
470 StackFrame *frame = nullptr; in GetValueForVariablePath() local
476 frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath()
477 if (frame) { in GetValueForVariablePath()
480 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath()
499 StackFrame *frame = exe_ctx.GetFramePtr(); in FindVariable() local
501 if (frame && target) { in FindVariable()
503 frame->CalculateTarget()->GetPreferDynamicValue(); in FindVariable()
524 StackFrame *frame = nullptr; in FindVariable() local
530 frame = exe_ctx.GetFramePtr(); in FindVariable()
531 if (frame) { in FindVariable()
532 value_sp = frame->FindVariable(ConstString(name)); in FindVariable()
550 StackFrame *frame = exe_ctx.GetFramePtr(); in FindValue() local
552 if (frame && target) { in FindValue()
554 frame->CalculateTarget()->GetPreferDynamicValue(); in FindValue()
574 StackFrame *frame = nullptr; in FindValue() local
580 frame = exe_ctx.GetFramePtr(); in FindValue()
581 if (frame) { in FindValue()
591 SymbolContext sc(frame->GetSymbolContext(eSymbolContextBlock)); in FindValue()
601 [frame](Variable *v) { return v->IsInScope(frame); }, in FindValue()
605 VariableList *frame_vars = frame->GetVariableList(get_file_globals); in FindValue()
613 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue()
621 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
625 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_info); in FindValue()
634 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
644 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx); in FindValue()
712 StackFrame *frame = nullptr; in Disassemble() local
718 frame = exe_ctx.GetFramePtr(); in Disassemble()
719 if (frame) { in Disassemble()
720 disassembly = frame->Disassemble(); 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()
808 variable_list = frame->GetVariableList(true); in GetVariables()
840 if (in_scope_only && !variable_sp->IsInScope(frame)) in GetVariables()
843 ValueObjectSP valobj_sp(frame->GetValueObjectForFrameVariable( in GetVariables()
859 auto recognized_frame = frame->GetRecognizedFrame(); in GetVariables()
886 StackFrame *frame = nullptr; in GetRegisters() local
892 frame = exe_ctx.GetFramePtr(); in GetRegisters()
893 if (frame) { in GetRegisters()
894 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in GetRegisters()
899 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx)); in GetRegisters()
917 StackFrame *frame = nullptr; in FindRegister() local
923 frame = exe_ctx.GetFramePtr(); in FindRegister()
924 if (frame) { in FindRegister()
925 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindRegister()
929 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_info); in FindRegister()
948 StackFrame *frame; in GetDescription() local
954 frame = exe_ctx.GetFramePtr(); in GetDescription()
955 if (frame) { in GetDescription()
956 frame->DumpUsingSettingsFormat(&strm); in GetDescription()
973 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
975 if (frame && target) { in EvaluateExpression()
978 frame->CalculateTarget()->GetPreferDynamicValue(); in EvaluateExpression()
985 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1003 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1007 else if (frame) in EvaluateExpression()
1008 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1024 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1028 else if (frame) in EvaluateExpression()
1029 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1051 StackFrame *frame = nullptr; in EvaluateExpression() local
1058 frame = exe_ctx.GetFramePtr(); in EvaluateExpression()
1059 if (frame) { in EvaluateExpression()
1063 frame->DumpUsingSettingsFormat(&frame_description); in EvaluateExpression()
1071 target->EvaluateExpression(expr, frame, expr_value_sp, options.ref()); in EvaluateExpression()
1097 StackFrame *frame = nullptr; in IsInlined() local
1103 frame = exe_ctx.GetFramePtr(); in IsInlined()
1104 if (frame) { in IsInlined()
1106 Block *block = frame->GetSymbolContext(eSymbolContextBlock).block; in IsInlined()
1127 StackFrame *frame = exe_ctx.GetFramePtr(); in IsArtificial() local
1128 if (frame) in IsArtificial()
1129 return frame->IsArtificial(); in IsArtificial()
1146 StackFrame *frame = nullptr; in GuessLanguage() local
1152 frame = exe_ctx.GetFramePtr(); in GuessLanguage()
1153 if (frame) { in GuessLanguage()
1154 return frame->GuessLanguage(); in GuessLanguage()
1168 StackFrame *frame = nullptr; in GetFunctionName() local
1174 frame = exe_ctx.GetFramePtr(); in GetFunctionName()
1175 if (frame) { in GetFunctionName()
1176 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetFunctionName()
1211 StackFrame *frame = nullptr; in GetDisplayFunctionName() local
1217 frame = exe_ctx.GetFramePtr(); in GetDisplayFunctionName()
1218 if (frame) { in GetDisplayFunctionName()
1219 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetDisplayFunctionName()