Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/lldb/source/Target/
H A DUnwindLLDB.cpp88 if (!reg_ctx_sp->GetCFA(first_cursor_sp->cfa)) in AddFirstFrame()
158 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
177 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
189 if (!reg_ctx_sp->GetCFA(cursor_sp->cfa)) { in GetOneMoreFrame()
197 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
208 if (abi && !abi->CallFrameAddressIsValid(cursor_sp->cfa)) { in GetOneMoreFrame()
219 !reg_ctx_sp->GetCFA(cursor_sp->cfa) || in GetOneMoreFrame()
220 !abi->CallFrameAddressIsValid(cursor_sp->cfa)) { in GetOneMoreFrame()
225 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
253 if (!(prev_frame->reg_ctx_lldb_sp->GetCFA(prev_frame->cfa))) in GetOneMoreFrame()
[all …]
H A DStackFrameList.cpp418 addr_t cfa = LLDB_INVALID_ADDRESS; in SynthesizeTailCallFrames() local
428 m_thread.shared_from_this(), frame_idx, concrete_frame_idx, cfa, in SynthesizeTailCallFrames()
482 lldb::addr_t cfa = LLDB_INVALID_ADDRESS; in GetFramesUpTo() local
492 idx, cfa, pc, behaves_like_zeroth_frame); in GetFramesUpTo()
497 cfa = reg_ctx_sp->GetSP(); in GetFramesUpTo()
503 cfa, pc, behaves_like_zeroth_frame, nullptr); in GetFramesUpTo()
508 cfa = unwind_frame_sp->m_id.GetCallFrameAddress(); in GetFramesUpTo()
521 unwinder.GetFrameInfoAtIndex(idx, cfa, pc, behaves_like_zeroth_frame); in GetFramesUpTo()
529 m_thread.shared_from_this(), m_frames.size(), idx, cfa, cfa_is_valid, in GetFramesUpTo()
558 unwind_frame_sp->GetRegisterContextSP(), cfa, next_frame_address, in GetFramesUpTo()
[all …]
/freebsd/contrib/llvm-project/libunwind/src/
H A DDwarfInstructions.hpp59 pint_t cfa, const RegisterLocation &savedReg);
61 pint_t cfa, const RegisterLocation &savedReg);
63 pint_t cfa, const RegisterLocation &savedReg);
77 static bool getRA_SIGN_STATE(A &addressSpace, R registers, pint_t cfa,
92 A &addressSpace, const R &registers, pint_t cfa, in getSavedRegister() argument
96 return (pint_t)addressSpace.getRegister(cfa + (pint_t)savedReg.value); in getSavedRegister()
99 return (pint_t)(addressSpace.getP(cfa + (pint_t)savedReg.value) ^ in getSavedRegister()
104 (pint_t)savedReg.value, addressSpace, registers, cfa)); in getSavedRegister()
108 registers, cfa); in getSavedRegister()
123 A &addressSpace, const R &registers, pint_t cfa, in getSavedFloatRegister() argument
149 getSavedVectorRegister(A & addressSpace,const R & registers,pint_t cfa,const RegisterLocation & savedReg) getSavedVectorRegister() argument
173 getRA_SIGN_STATE(A & addressSpace,R registers,pint_t cfa,PrologInfo & prolog) getRA_SIGN_STATE() argument
198 pint_t cfa = getCFA(addressSpace, prolog, registers); stepWithDwarf() local
[all...]
/freebsd/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.h22 explicit StackID(lldb::addr_t pc, lldb::addr_t cfa, in StackID() argument
24 : m_pc(pc), m_cfa(cfa), m_symbol_scope(symbol_scope) {} in StackID()
68 void SetCFA(lldb::addr_t cfa) { m_cfa = cfa; } in SetCFA() argument
H A DStackFrame.h109 lldb::user_id_t concrete_frame_idx, lldb::addr_t cfa,
115 const lldb::RegisterContextSP &reg_context_sp, lldb::addr_t cfa,
121 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/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/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_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 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 DABIWindows_x86_64.h49 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
50 if (cfa & (8ull - 1ull)) in CallFrameAddressIsValid()
52 if (cfa == 0) in CallFrameAddressIsValid()
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/ABI/MSP430/
H A DABISysV_msp430.h45 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument
48 if (cfa & 0x01 || cfa == 0) in CallFrameAddressIsValid()
/freebsd/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/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/
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()
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()
/freebsd/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/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/lib/libthr/thread/
H A Dthr_exit.c139 uintptr_t cfa; in thread_unwind_stop() local
144 cfa = _Unwind_GetCFA(context); in thread_unwind_stop()
146 cfa >= (uintptr_t)curthread->unwind_stackend) { in thread_unwind_stop()
151 (done || (uintptr_t)cur <= cfa)) { in thread_unwind_stop()
/freebsd/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/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()

12