Home
last modified time | relevance | path

Searched refs:cfa (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/lldb/source/Target/
H A DUnwindLLDB.cpp87 if (!reg_ctx_sp->GetCFA(first_cursor_sp->cfa)) in AddFirstFrame()
157 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
176 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
188 if (!reg_ctx_sp->GetCFA(cursor_sp->cfa)) { in GetOneMoreFrame()
196 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
207 if (abi && !abi->CallFrameAddressIsValid(cursor_sp->cfa)) { in GetOneMoreFrame()
218 !reg_ctx_sp->GetCFA(cursor_sp->cfa) || in GetOneMoreFrame()
219 !abi->CallFrameAddressIsValid(cursor_sp->cfa)) { in GetOneMoreFrame()
283 prev_frame->cfa == cursor_sp->cfa) { in GetOneMoreFrame()
382 m_frames[m_frames.size() - 2]->cfa); in AddOneMoreFrame()
[all …]
H A DStackFrameList.cpp414 addr_t cfa = LLDB_INVALID_ADDRESS; in SynthesizeTailCallFrames() local
424 m_thread.shared_from_this(), frame_idx, concrete_frame_idx, cfa, in SynthesizeTailCallFrames()
475 lldb::addr_t cfa = LLDB_INVALID_ADDRESS; in GetFramesUpTo() local
485 idx, cfa, pc, behaves_like_zeroth_frame); in GetFramesUpTo()
490 cfa = reg_ctx_sp->GetSP(); in GetFramesUpTo()
496 cfa, pc, behaves_like_zeroth_frame, nullptr); in GetFramesUpTo()
501 cfa = unwind_frame_sp->m_id.GetCallFrameAddress(); in GetFramesUpTo()
542 unwind_frame_sp->GetRegisterContextSP(), cfa, next_frame_address, in GetFramesUpTo()
671 addr_t pc, cfa; in GetFrameAtIndex() local
674 idx, cfa, pc, behaves_like_zeroth_frame)) { in GetFrameAtIndex()
[all …]
/freebsd-13.1/contrib/llvm-project/libunwind/src/
H A DDwarfInstructions.hpp80 A &addressSpace, const R &registers, pint_t cfa, in getSavedRegister() argument
88 (pint_t)savedReg.value, addressSpace, registers, cfa)); in getSavedRegister()
92 registers, cfa); in getSavedRegister()
107 A &addressSpace, const R &registers, pint_t cfa, in getSavedFloatRegister() argument
111 return addressSpace.getDouble(cfa + (pint_t)savedReg.value); in getSavedFloatRegister()
116 registers, cfa)); in getSavedFloatRegister()
130 A &addressSpace, const R &registers, pint_t cfa, in getSavedVectorRegister() argument
139 registers, cfa)); in getSavedVectorRegister()
163 pint_t cfa = getCFA(addressSpace, prolog, registers); in stepWithDwarf() local
175 newRegisters.setSP(cfa); in stepWithDwarf()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Target/
H A DUnwind.h37 lldb::addr_t cfa; in GetFramesUpTo() local
43 if (!DoGetFrameInfoAtIndex(idx, cfa, pc, behaves_like_zeroth_frame)) { in GetFramesUpTo()
50 bool GetFrameInfoAtIndex(uint32_t frame_idx, lldb::addr_t &cfa, in GetFrameInfoAtIndex() argument
53 return DoGetFrameInfoAtIndex(frame_idx, cfa, pc, behaves_like_zeroth_frame); in GetFrameInfoAtIndex()
69 virtual bool DoGetFrameInfoAtIndex(uint32_t frame_idx, lldb::addr_t &cfa,
H A DStackID.h24 explicit StackID(lldb::addr_t pc, lldb::addr_t cfa, in StackID() argument
26 : m_pc(pc), m_cfa(cfa), m_symbol_scope(symbol_scope) {} in StackID()
70 void SetCFA(lldb::addr_t cfa) { m_cfa = cfa; } in SetCFA() argument
H A DStackFrame.h107 lldb::user_id_t concrete_frame_idx, lldb::addr_t cfa,
113 const lldb::RegisterContextSP &reg_context_sp, lldb::addr_t cfa,
119 const lldb::RegisterContextSP &reg_context_sp, lldb::addr_t cfa,
H A DUnwindLLDB.h75 bool DoGetFrameInfoAtIndex(uint32_t frame_idx, lldb::addr_t &cfa,
115 lldb::addr_t cfa = LLDB_INVALID_ADDRESS; // The canonical frame address for member
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/AArch64/
H A DABIMacOSX_arm64.h48 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
50 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
52 if (cfa == 0) in CallFrameAddressIsValid()
H A DABISysV_arm64.h51 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
53 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
55 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/X86/
H A DABIMacOSX_i386.h54 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
56 if (cfa & (4ull - 1ull)) in CallFrameAddressIsValid()
58 if (cfa == 0) in CallFrameAddressIsValid()
H A DABISysV_x86_64.h54 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
56 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
58 if (cfa == 0) in CallFrameAddressIsValid()
H A DABISysV_i386.h62 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
64 if (cfa & (4ull - 1ull)) in CallFrameAddressIsValid()
66 if (cfa == 0) in CallFrameAddressIsValid()
H A DABIWindows_x86_64.h44 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
45 if (cfa & (16ull - 1ull)) in CallFrameAddressIsValid()
47 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/PowerPC/
H A DABISysV_ppc.h55 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
57 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
59 if (cfa == 0) in CallFrameAddressIsValid()
H A DABISysV_ppc64.h55 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
57 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
59 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARM/
H A DABIMacOSX_arm.h39 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
41 if (cfa & (4ull - 1ull)) in CallFrameAddressIsValid()
43 if (cfa == 0) in CallFrameAddressIsValid()
H A DABISysV_arm.h39 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
41 if (cfa & (4ull - 1ull)) in CallFrameAddressIsValid()
43 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
H A DABISysV_mips64.h57 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
59 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
61 if (cfa == 0) in CallFrameAddressIsValid()
H A DABISysV_mips.h46 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
48 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
50 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/SystemZ/
H A DABISysV_s390x.h48 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
50 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
52 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Hexagon/
H A DABISysV_hexagon.h56 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
58 if (cfa & 0x07) in CallFrameAddressIsValid()
60 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd-13.1/lib/libthr/thread/
H A Dthr_exit.c142 uintptr_t cfa; in thread_unwind_stop() local
147 cfa = _Unwind_GetCFA(context); in thread_unwind_stop()
149 cfa >= (uintptr_t)curthread->unwind_stackend) { in thread_unwind_stop()
154 (done || (uintptr_t)cur <= cfa)) { in thread_unwind_stop()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DHistoryUnwind.cpp55 bool HistoryUnwind::DoGetFrameInfoAtIndex(uint32_t frame_idx, lldb::addr_t &cfa, in DoGetFrameInfoAtIndex() argument
62 cfa = frame_idx; in DoGetFrameInfoAtIndex()
/freebsd-13.1/contrib/elftoolchain/libdwarf/
H A Ddwarf_frame.c339 Dwarf_Half cfa; in dwarf_get_fde_info_for_all_regs() local
366 cfa = dbg->dbg_frame_cfa_value; in dwarf_get_fde_info_for_all_regs()
367 if (cfa < DW_REG_TABLE_SIZE) { in dwarf_get_fde_info_for_all_regs()
368 reg_table->rules[cfa].dw_offset_relevant = in dwarf_get_fde_info_for_all_regs()
370 reg_table->rules[cfa].dw_regnum = CFA.dw_regnum; in dwarf_get_fde_info_for_all_regs()
371 reg_table->rules[cfa].dw_offset = CFA.dw_offset_or_block_len; in dwarf_get_fde_info_for_all_regs()
381 if (i == cfa) in dwarf_get_fde_info_for_all_regs()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/
H A DABISysV_arc.h59 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
61 return (cfa & 0x3ull) == 0; in CallFrameAddressIsValid()

12