| /freebsd-13.1/contrib/llvm-project/lldb/source/Target/ |
| H A D | UnwindLLDB.cpp | 87 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 D | StackFrameList.cpp | 414 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 D | DwarfInstructions.hpp | 80 A &addressSpace, const R ®isters, 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 ®isters, 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 ®isters, 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 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 | 24 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 D | StackFrame.h | 107 lldb::user_id_t concrete_frame_idx, lldb::addr_t cfa, 113 const lldb::RegisterContextSP ®_context_sp, lldb::addr_t cfa, 119 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-13.1/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-13.1/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_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 | 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 | ABIWindows_x86_64.h | 44 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 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-13.1/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-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/Mips/ |
| 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()
|
| 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()
|
| /freebsd-13.1/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-13.1/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-13.1/lib/libthr/thread/ |
| H A D | thr_exit.c | 142 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 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-13.1/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()
|
| /freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/ABI/ARC/ |
| H A D | ABISysV_arc.h | 59 bool CallFrameAddressIsValid(lldb::addr_t cfa) override { in CallFrameAddressIsValid() argument 61 return (cfa & 0x3ull) == 0; in CallFrameAddressIsValid()
|