Lines Matching refs:frame
122 StackFrame *frame = nullptr; in GetSymbolContext() local
128 frame = exe_ctx.GetFramePtr(); in GetSymbolContext()
129 if (frame) in GetSymbolContext()
130 sb_sym_ctx.SetSymbolContext(&frame->GetSymbolContext(scope)); in GetSymbolContext()
145 StackFrame *frame = nullptr; in GetModule() local
151 frame = exe_ctx.GetFramePtr(); in GetModule()
152 if (frame) { in GetModule()
153 module_sp = frame->GetSymbolContext(eSymbolContextModule).module_sp; in GetModule()
170 StackFrame *frame = nullptr; in GetCompileUnit() local
176 frame = exe_ctx.GetFramePtr(); in GetCompileUnit()
177 if (frame) { in GetCompileUnit()
179 frame->GetSymbolContext(eSymbolContextCompUnit).comp_unit); in GetCompileUnit()
194 StackFrame *frame = nullptr; in GetFunction() local
200 frame = exe_ctx.GetFramePtr(); in GetFunction()
201 if (frame) { in GetFunction()
203 frame->GetSymbolContext(eSymbolContextFunction).function); in GetFunction()
218 StackFrame *frame = nullptr; in GetSymbol() local
224 frame = exe_ctx.GetFramePtr(); in GetSymbol()
225 if (frame) { in GetSymbol()
226 sb_symbol.reset(frame->GetSymbolContext(eSymbolContextSymbol).symbol); in GetSymbol()
241 StackFrame *frame = nullptr; in GetBlock() local
247 frame = exe_ctx.GetFramePtr(); in GetBlock()
248 if (frame) in GetBlock()
249 sb_block.SetPtr(frame->GetSymbolContext(eSymbolContextBlock).block); in GetBlock()
262 StackFrame *frame = nullptr; in GetFrameBlock() local
268 frame = exe_ctx.GetFramePtr(); in GetFrameBlock()
269 if (frame) in GetFrameBlock()
270 sb_block.SetPtr(frame->GetFrameBlock()); in GetFrameBlock()
283 StackFrame *frame = nullptr; in GetLineEntry() local
289 frame = exe_ctx.GetFramePtr(); in GetLineEntry()
290 if (frame) { in GetLineEntry()
292 frame->GetSymbolContext(eSymbolContextLineEntry).line_entry); in GetLineEntry()
307 StackFrame *frame = exe_ctx.GetFramePtr(); in GetFrameID() local
308 if (frame) in GetFrameID()
309 frame_idx = frame->GetFrameIndex(); in GetFrameID()
320 StackFrame *frame = exe_ctx.GetFramePtr(); in GetCFA() local
321 if (frame) in GetCFA()
322 return frame->GetStackID().GetCallFrameAddress(); in GetCFA()
333 StackFrame *frame = nullptr; in GetPC() local
339 frame = exe_ctx.GetFramePtr(); in GetPC()
340 if (frame) { in GetPC()
341 addr = frame->GetFrameCodeAddress().GetOpcodeLoadAddress( in GetPC()
362 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in SetPC() local
363 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in SetPC()
385 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in GetSP() local
386 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in GetSP()
408 if (StackFrame *frame = exe_ctx.GetFramePtr()) { in GetFP() local
409 if (RegisterContextSP reg_ctx_sp = frame->GetRegisterContext()) { in GetFP()
426 StackFrame *frame = exe_ctx.GetFramePtr(); in GetPCAddress() local
432 frame = exe_ctx.GetFramePtr(); in GetPCAddress()
433 if (frame) in GetPCAddress()
434 sb_addr.SetAddress(frame->GetFrameCodeAddress()); in GetPCAddress()
454 StackFrame *frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath() local
456 if (frame && target) { in GetValueForVariablePath()
458 frame->CalculateTarget()->GetPreferDynamicValue(); in GetValueForVariablePath()
478 StackFrame *frame = nullptr; in GetValueForVariablePath() local
484 frame = exe_ctx.GetFramePtr(); in GetValueForVariablePath()
485 if (frame) { in GetValueForVariablePath()
488 ValueObjectSP value_sp(frame->GetValueForVariableExpressionPath( in GetValueForVariablePath()
508 StackFrame *frame = exe_ctx.GetFramePtr(); in FindVariable() local
510 if (frame && target) { in FindVariable()
512 frame->CalculateTarget()->GetPreferDynamicValue(); in FindVariable()
534 StackFrame *frame = nullptr; in FindVariable() local
540 frame = exe_ctx.GetFramePtr(); in FindVariable()
541 if (frame) { in FindVariable()
542 value_sp = frame->FindVariable(ConstString(name)); in FindVariable()
561 StackFrame *frame = exe_ctx.GetFramePtr(); in FindValue() local
563 if (frame && target) { in FindValue()
565 frame->CalculateTarget()->GetPreferDynamicValue(); in FindValue()
587 StackFrame *frame = nullptr; in FindValue() local
593 frame = exe_ctx.GetFramePtr(); in FindValue()
594 if (frame) { in FindValue()
604 SymbolContext sc(frame->GetSymbolContext(eSymbolContextBlock)); in FindValue()
614 [frame](Variable *v) { return v->IsInScope(frame); }, in FindValue()
618 VariableList *frame_vars = frame->GetVariableList(get_file_globals); in FindValue()
626 value_sp = frame->GetValueObjectForFrameVariable(variable_sp, in FindValue()
634 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
644 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_idx); in FindValue()
655 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindValue()
665 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx); in FindValue()
736 StackFrame *frame = nullptr; in Disassemble() local
742 frame = exe_ctx.GetFramePtr(); in Disassemble()
743 if (frame) { in Disassemble()
744 disassembly = frame->Disassemble(); in Disassemble()
762 StackFrame *frame = exe_ctx.GetFramePtr(); in GetVariables() local
764 if (frame && target) { in GetVariables()
766 frame->CalculateTarget()->GetPreferDynamicValue(); in GetVariables()
814 StackFrame *frame = nullptr; in GetVariables() local
833 frame = exe_ctx.GetFramePtr(); in GetVariables()
834 if (frame) { in GetVariables()
836 variable_list = frame->GetVariableList(true); in GetVariables()
868 if (in_scope_only && !variable_sp->IsInScope(frame)) in GetVariables()
871 ValueObjectSP valobj_sp(frame->GetValueObjectForFrameVariable( in GetVariables()
887 auto recognized_frame = frame->GetRecognizedFrame(); in GetVariables()
914 StackFrame *frame = nullptr; in GetRegisters() local
920 frame = exe_ctx.GetFramePtr(); in GetRegisters()
921 if (frame) { in GetRegisters()
922 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in GetRegisters()
927 ValueObjectRegisterSet::Create(frame, reg_ctx, set_idx)); in GetRegisters()
946 StackFrame *frame = nullptr; in FindRegister() local
952 frame = exe_ctx.GetFramePtr(); in FindRegister()
953 if (frame) { in FindRegister()
954 RegisterContextSP reg_ctx(frame->GetRegisterContext()); in FindRegister()
964 value_sp = ValueObjectRegister::Create(frame, reg_ctx, reg_idx); in FindRegister()
986 StackFrame *frame; in GetDescription() local
992 frame = exe_ctx.GetFramePtr(); in GetDescription()
993 if (frame) { in GetDescription()
994 frame->DumpUsingSettingsFormat(&strm); in GetDescription()
1012 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1014 if (frame && target) { in EvaluateExpression()
1017 frame->CalculateTarget()->GetPreferDynamicValue(); in EvaluateExpression()
1024 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1044 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1048 else if (frame) in EvaluateExpression()
1049 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1067 StackFrame *frame = exe_ctx.GetFramePtr(); in EvaluateExpression() local
1071 else if (frame) in EvaluateExpression()
1072 options.SetLanguage(frame->GetLanguage()); in EvaluateExpression()
1096 StackFrame *frame = nullptr; in EvaluateExpression() local
1103 frame = exe_ctx.GetFramePtr(); in EvaluateExpression()
1104 if (frame) { in EvaluateExpression()
1108 frame->DumpUsingSettingsFormat(&frame_description); in EvaluateExpression()
1116 target->EvaluateExpression(expr, frame, expr_value_sp, options.ref()); in EvaluateExpression()
1142 StackFrame *frame = nullptr; in IsInlined() local
1148 frame = exe_ctx.GetFramePtr(); in IsInlined()
1149 if (frame) { in IsInlined()
1151 Block *block = frame->GetSymbolContext(eSymbolContextBlock).block; in IsInlined()
1172 StackFrame *frame = exe_ctx.GetFramePtr(); in IsArtificial() local
1173 if (frame) in IsArtificial()
1174 return frame->IsArtificial(); in IsArtificial()
1191 StackFrame *frame = nullptr; in GuessLanguage() local
1197 frame = exe_ctx.GetFramePtr(); in GuessLanguage()
1198 if (frame) { in GuessLanguage()
1199 return frame->GuessLanguage(); in GuessLanguage()
1213 StackFrame *frame = nullptr; in GetFunctionName() local
1219 frame = exe_ctx.GetFramePtr(); in GetFunctionName()
1220 if (frame) { in GetFunctionName()
1221 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetFunctionName()
1256 StackFrame *frame = nullptr; in GetDisplayFunctionName() local
1262 frame = exe_ctx.GetFramePtr(); in GetDisplayFunctionName()
1263 if (frame) { in GetDisplayFunctionName()
1264 SymbolContext sc(frame->GetSymbolContext(eSymbolContextFunction | in GetDisplayFunctionName()