/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | UnwindLLDB.cpp | 88 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 D | StackFrameList.cpp | 418 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 D | DwarfInstructions.hpp | 59 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 ®isters, 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 ®isters, 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 D | Unwind.h | 37 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 D | StackID.h | 22 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 D | StackFrame.h | 109 lldb::user_id_t concrete_frame_idx, lldb::addr_t cfa, 115 const lldb::RegisterContextSP ®_context_sp, lldb::addr_t cfa, 121 const lldb::RegisterContextSP ®_context_sp, lldb::addr_t cfa,
|
H A D | UnwindLLDB.h | 75 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 D | ABIMacOSX_arm64.h | 48 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 D | ABISysV_arm64.h | 51 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 D | ABIMacOSX_i386.h | 54 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 D | ABISysV_i386.h | 62 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 D | ABISysV_x86_64.h | 54 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 D | ABIWindows_x86_64.h | 49 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 D | ABIMacOSX_arm.h | 39 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 D | ABISysV_arm.h | 39 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 D | ABISysV_msp430.h | 45 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 D | ABISysV_ppc.h | 55 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 D | ABISysV_ppc64.h | 55 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 D | ABISysV_mips.h | 46 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 D | ABISysV_mips64.h | 57 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 D | ABISysV_s390x.h | 48 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 D | ABISysV_hexagon.h | 56 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 D | thr_exit.c | 139 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 D | HistoryUnwind.cpp | 55 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 D | dwarf_frame.c | 339 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()
|