Home
last modified time | relevance | path

Searched refs:frame_sp (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DStackFrameList.cpp556 StackFrameSP frame_sp(new StackFrame( in GetFramesUpTo() local
561 m_frames.push_back(frame_sp); in GetFramesUpTo()
669 StackFrameSP frame_sp; in GetFrameAtIndex() local
678 frame_sp = m_frames[idx]; in GetFrameAtIndex()
680 if (frame_sp) in GetFrameAtIndex()
681 return frame_sp; in GetFrameAtIndex()
696 frame_sp = m_frames[idx]; in GetFrameAtIndex()
703 frame_sp = std::make_shared<StackFrame>( in GetFrameAtIndex()
708 frame_sp->GetSymbolContext(eSymbolContextFunction).function; in GetFrameAtIndex()
712 frame_sp->SetSymbolContextScope(&function->GetBlock(false)); in GetFrameAtIndex()
[all …]
H A DExecutionContext.cpp43 ExecutionContext::ExecutionContext(const lldb::StackFrameSP &frame_sp) in ExecutionContext() argument
45 if (frame_sp) in ExecutionContext()
46 SetContext(frame_sp); in ExecutionContext()
73 lldb::StackFrameSP frame_sp(frame_wp.lock()); in ExecutionContext() local
74 if (frame_sp) in ExecutionContext()
75 SetContext(frame_sp); in ExecutionContext()
257 void ExecutionContext::SetFrameSP(const lldb::StackFrameSP &frame_sp) { in SetFrameSP() argument
258 m_frame_sp = frame_sp; in SetFrameSP()
325 void ExecutionContext::SetContext(const lldb::StackFrameSP &frame_sp) { in SetContext() argument
326 m_frame_sp = frame_sp; in SetContext()
[all …]
H A DThread.cpp195 StackFrameSP frame_sp; in GetStackFrameFromEvent() local
199 frame_sp = thread_sp->GetStackFrameList()->GetFrameWithStackID( in GetStackFrameFromEvent()
203 return frame_sp; in GetStackFrameFromEvent()
267 StackFrameSP frame_sp = stack_frame_list_sp->GetFrameAtIndex( in GetSelectedFrame() local
269 FrameSelectedCallback(frame_sp.get()); in GetSelectedFrame()
270 return frame_sp; in GetSelectedFrame()
283 StackFrameSP frame_sp(GetStackFrameList()->GetFrameAtIndex(frame_idx)); in SetSelectedFrameByIndex() local
284 if (frame_sp) { in SetSelectedFrameByIndex()
285 GetStackFrameList()->SetSelectedFrame(frame_sp.get()); in SetSelectedFrameByIndex()
287 BroadcastSelectedFrameChange(frame_sp->GetStackID()); in SetSelectedFrameByIndex()
[all …]
H A DVerboseTrapFrameRecognizer.cpp26 VerboseTrapFrameRecognizer::RecognizeFrame(lldb::StackFrameSP frame_sp) { in RecognizeFrame() argument
27 if (frame_sp->GetFrameIndex()) in RecognizeFrame()
30 ThreadSP thread_sp = frame_sp->GetThread(); in RecognizeFrame()
43 SymbolContext sc = frame_sp->GetSymbolContext(eSymbolContextEverything); in RecognizeFrame()
H A DThreadPlanStepUntil.cpp40 StackFrameSP frame_sp(thread.GetStackFrameAtIndex(frame_idx)); in ThreadPlanStepUntil() local
41 if (frame_sp) { in ThreadPlanStepUntil()
42 m_step_from_insn = frame_sp->GetStackID().GetPC(); in ThreadPlanStepUntil()
63 m_stack_id = frame_sp->GetStackID(); in ThreadPlanStepUntil()
H A DThreadPlanStepOverRange.cpp220 StackFrameSP frame_sp = thread.GetStackFrameAtIndex(0); in ShouldStop() local
221 sc = frame_sp->GetSymbolContext(eSymbolContextEverything); in ShouldStop()
231 Address cur_address = frame_sp->GetFrameCodeAddress(); in ShouldStop()
H A DAssertFrameRecognizer.cpp121 AssertFrameRecognizer::RecognizeFrame(lldb::StackFrameSP frame_sp) { in RecognizeFrame() argument
122 ThreadSP thread_sp = frame_sp->GetThread(); in RecognizeFrame()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DUserExpression.cpp61 lldb::StackFrameSP frame_sp = exe_ctx.GetFrameSP(); in InstallContext() local
63 if (frame_sp) in InstallContext()
64 m_address = frame_sp->GetFrameCodeAddress(); in InstallContext()
70 lldb::StackFrameSP &frame_sp) { in LockAndCheckContext() argument
79 frame_sp = exe_ctx.GetFrameSP(); in LockAndCheckContext()
82 if (!frame_sp) in LockAndCheckContext()
85 frame_sp->GetFrameCodeAddress(), in LockAndCheckContext()
95 lldb::StackFrameSP frame_sp; in MatchesContext() local
97 return LockAndCheckContext(exe_ctx, target_sp, process_sp, frame_sp); in MatchesContext()
101 lldb::StackFrameSP frame_sp, llvm::StringRef object_name, Status &err) { in GetObjectPointerValueObject() argument
[all …]
H A DMaterializer.cpp150 void Materialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map, in Materialize() argument
201 void Dematerialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map, in Dematerialize() argument
440 void Materialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map, in Materialize() argument
452 ExecutionContextScope *scope = frame_sp.get(); in Materialize()
602 void Dematerialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map, in Dematerialize() argument
616 ExecutionContextScope *scope = frame_sp.get(); in Dematerialize()
923 void Materialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map, in Materialize() argument
934 ExecutionContextScope *exe_scope = frame_sp.get(); in Materialize()
983 void Dematerialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map, in Dematerialize() argument
988 ExecutionContextScope *exe_scope = frame_sp.get(); in Dematerialize()
[all …]
/freebsd/contrib/llvm-project/lldb/include/lldb/Expression/
H A DMaterializer.h47 Dematerializer(Materializer &materializer, lldb::StackFrameSP &frame_sp, in Dematerializer() argument
51 if (frame_sp) { in Dematerializer()
52 m_thread_wp = frame_sp->GetThread(); in Dematerializer()
53 m_stack_id = frame_sp->GetStackID(); in Dematerializer()
67 DematerializerSP Materialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
120 virtual void Materialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
122 virtual void Dematerialize(lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
H A DUserExpression.h288 static lldb::addr_t GetObjectPointer(lldb::StackFrameSP frame_sp,
316 lldb::StackFrameSP &frame_sp);
/freebsd/contrib/llvm-project/lldb/source/API/
H A DSBThread.cpp544 StackFrameSP frame_sp(thread->GetStackFrameAtIndex(0)); in StepOver() local
548 if (frame_sp) { in StepOver()
549 if (frame_sp->HasDebugInformation()) { in StepOver()
551 SymbolContext sc(frame_sp->GetSymbolContext(eSymbolContextEverything)); in StepOver()
592 StackFrameSP frame_sp(thread->GetStackFrameAtIndex(0)); in StepInto() local
596 if (frame_sp && frame_sp->HasDebugInformation()) { in StepInto()
597 SymbolContext sc(frame_sp->GetSymbolContext(eSymbolContextEverything)); in StepInto()
678 StackFrameSP frame_sp(sb_frame.GetFrameSP()); in StepOutOfFrame() local
696 eVoteNoOpinion, frame_sp->GetFrameIndex(), new_plan_status)); in StepOutOfFrame()
778 StackFrameSP frame_sp(sb_frame.GetFrameSP()); in StepOverUntil() local
[all …]
H A DSBExecutionContext.cpp118 StackFrameSP frame_sp(m_exe_ctx_sp->GetFrameSP()); in GetFrame() local
119 if (frame_sp) in GetFrame()
120 sb_frame.SetFrameSP(frame_sp); in GetFrame()
H A DSBInstruction.cpp309 lldb::StackFrameSP frame_sp(frame.GetFrameSP()); in EmulateWithFrame() local
311 if (frame_sp) { in EmulateWithFrame()
313 frame_sp->CalculateExecutionContext(exe_ctx); in EmulateWithFrame()
318 arch, evaluate_options, (void *)frame_sp.get(), in EmulateWithFrame()
H A DSBBlock.cpp250 StackFrameSP frame_sp(frame.GetFrameSP()); in GetVariables() local
279 if (frame_sp) { in GetVariables()
281 frame_sp->GetValueObjectForFrameVariable(variable_sp, in GetVariables()
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DExecutionContext.h197 void SetFrameSP(const lldb::StackFrameSP &frame_sp);
307 ExecutionContext(const lldb::StackFrameSP &frame_sp);
481 void SetFrameSP(const lldb::StackFrameSP &frame_sp);
523 void SetContext(const lldb::StackFrameSP &frame_sp);
H A DAssertFrameRecognizer.h49 RecognizeFrame(lldb::StackFrameSP frame_sp) override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/MemoryHistory/asan/
H A DMemoryHistoryASan.cpp157 StackFrameSP frame_sp = in GetHistoryThreads() local
159 if (!frame_sp) in GetHistoryThreads()
162 ExecutionContext exe_ctx(frame_sp); in GetHistoryThreads()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/Utility/
H A DReportRetriever.cpp69 StackFrameSP frame_sp = in RetrieveReportData() local
72 if (!frame_sp) in RetrieveReportData()
88 frame_sp->CalculateExecutionContext(exe_ctx); in RetrieveReportData()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/ASan/
H A DInstrumentationRuntimeASan.cpp116 StackFrameSP frame_sp = RetrieveReportData() local
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangUserExpression.cpp846 lldb::StackFrameSP frame_sp, llvm::StringRef object_name, Status &err) { in GetCppObjectPointer() argument
848 GetObjectPointerValueObject(std::move(frame_sp), object_name, err); in GetCppObjectPointer()
880 lldb::StackFrameSP frame_sp = exe_ctx.GetFrameSP(); in AddArguments() local
881 if (!frame_sp) in AddArguments()
908 GetCppObjectPointer(frame_sp, object_name, object_ptr_error); in AddArguments()
910 object_ptr = GetObjectPointer(frame_sp, object_name, object_ptr_error); in AddArguments()
924 cmd_ptr = GetObjectPointer(frame_sp, cmd_name, object_ptr_error); in AddArguments()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/MainThreadChecker/
H A DInstrumentationRuntimeMainThreadChecker.cpp84 StackFrameSP frame_sp = in RetrieveReportData() local
89 if (!frame_sp) in RetrieveReportData()
92 RegisterContextSP regctx_sp = frame_sp->GetRegisterContext(); in RetrieveReportData()
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectFrame.cpp126 StackFrameSP frame_sp = thread->GetSelectedFrame(SelectMostRelevantFrame); in DoExecute() local
136 valobj_sp = frame_sp->GuessValueForAddress(*m_options.address); in DoExecute()
138 valobj_sp = frame_sp->GuessValueForRegisterAndOffset( in DoExecute()
301 StackFrameSP frame_sp = thread->GetStackFrameAtIndex(frame_requested); in DoExecute() local
302 if (frame_sp) in DoExecute()
1070 StackFrameSP frame_sp = thread->GetStackFrameAtIndex(frame_index); in DoExecute() local
1071 if (!frame_sp) { in DoExecute()
1078 .GetRecognizerForFrame(frame_sp); in DoExecute()
/freebsd/contrib/llvm-project/lldb/source/Plugins/InstrumentationRuntime/UBSan/
H A DInstrumentationRuntimeUBSan.cpp111 StackFrameSP frame_sp = in RetrieveReportData() local
116 if (!frame_sp) in RetrieveReportData()
134 frame_sp->CalculateExecutionContext(exe_ctx); in RetrieveReportData()
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-swigsafecast.swig53 PythonObject SWIGBridge::ToSWIGWrapper(lldb::StackFrameSP frame_sp) {
54 return ToSWIGHelper(new lldb::SBFrame(std::move(frame_sp)),

1234