| /openbsd-src/sys/arch/mips64/mips64/ |
| H A D | sys_machdep.c | 73 struct mips64_cacheflush_args cfa; in sys_sysarch() local 75 if ((error = copyin(SCARG(uap, parms), &cfa, sizeof cfa)) != 0) in sys_sysarch() 77 error = mips64_cacheflush(p, &cfa); in sys_sysarch() 89 mips64_cacheflush(struct proc *p, struct mips64_cacheflush_args *cfa) in mips64_cacheflush() argument 102 if ((cfa->which & BCACHE) != cfa->which) in mips64_cacheflush() 105 if (cfa->which == 0) in mips64_cacheflush() 108 va = cfa->va; in mips64_cacheflush() 109 sz = cfa->sz; in mips64_cacheflush() 123 if (cfa->which & ICACHE) in mips64_cacheflush() 125 if (cfa->which & DCACHE) in mips64_cacheflush()
|
| /openbsd-src/gnu/llvm/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 | 415 addr_t cfa = LLDB_INVALID_ADDRESS; in SynthesizeTailCallFrames() local 425 m_thread.shared_from_this(), frame_idx, concrete_frame_idx, cfa, in SynthesizeTailCallFrames() 476 lldb::addr_t cfa = LLDB_INVALID_ADDRESS; in GetFramesUpTo() local 486 idx, cfa, pc, behaves_like_zeroth_frame); in GetFramesUpTo() 491 cfa = reg_ctx_sp->GetSP(); in GetFramesUpTo() 497 cfa, pc, behaves_like_zeroth_frame, nullptr); in GetFramesUpTo() 502 cfa = unwind_frame_sp->m_id.GetCallFrameAddress(); in GetFramesUpTo() 506 unwinder.GetFrameInfoAtIndex(idx, cfa, pc, behaves_like_zeroth_frame); in GetFramesUpTo() 514 m_thread.shared_from_this(), m_frames.size(), idx, cfa, cfa_is_valid, in GetFramesUpTo() 543 unwind_frame_sp->GetRegisterContextSP(), cfa, next_frame_address, in GetFramesUpTo() [all …]
|
| /openbsd-src/gnu/llvm/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() 124 A &addressSpace, const R ®isters, pint_t cfa, in getSavedFloatRegister() argument [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/s390/ |
| H A D | linux-unwind.h | 70 if (context->ra == context->cfa + 16 + sizeof (sigregs_)) in s390_fallback_frame_state() 72 regs = (sigregs_ *)(context->cfa + 16); in s390_fallback_frame_state() 88 } *uc = context->cfa + 8 + 128; in s390_fallback_frame_state() 91 signo = context->cfa + sizeof(long); in s390_fallback_frame_state() 99 regs = *(sigregs_ **)(context->cfa + 8); in s390_fallback_frame_state() 107 new_cfa - (long) context->cfa + 16*sizeof(long) + 32; in s390_fallback_frame_state()
|
| /openbsd-src/gnu/llvm/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
|
| /openbsd-src/gnu/gcc/gcc/config/sparc/ |
| H A D | linux-unwind.h | 52 this_cfa = (long) context->cfa; in sparc64_fallback_frame_state() 53 new_cfa = *(long *)((context->cfa) + (regs_off + (14 * 8))); in sparc64_fallback_frame_state() 58 fs->cfa_offset = new_cfa - (long) context->cfa; in sparc64_fallback_frame_state() 122 this_cfa = (int) context->cfa; in sparc_fallback_frame_state() 123 new_cfa = *(int *)((context->cfa) + (regs_off+(4*4)+(14 * 4))); in sparc_fallback_frame_state() 127 fs->cfa_offset = new_cfa - (int) context->cfa; in sparc_fallback_frame_state()
|
| /openbsd-src/gnu/gcc/gcc/config/alpha/ |
| H A D | linux-unwind.h | 48 if (context->cfa == 0) in alpha_fallback_frame_state() 51 sc = context->cfa; in alpha_fallback_frame_state() 57 } *rt_ = context->cfa; in alpha_fallback_frame_state() 65 fs->cfa_offset = new_cfa - (long) context->cfa; in alpha_fallback_frame_state()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/alpha/ |
| H A D | linux.h | 84 if ((CONTEXT)->cfa == 0) \ 87 sc_ = (CONTEXT)->cfa; \ 93 } *rt_ = (CONTEXT)->cfa; \ 101 (FS)->cfa_offset = new_cfa_ - (long) (CONTEXT)->cfa; \
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/s390/ |
| H A D | linux.h | 162 if ((CONTEXT)->ra == (CONTEXT)->cfa) \ 170 } *uc_ = (CONTEXT)->cfa + 8 + 128; \ 180 regs_ = *(sigregs_ **)((CONTEXT)->cfa + 8); \ 187 new_cfa_ - (long) (CONTEXT)->cfa + 16*sizeof(long) + 32; \
|
| /openbsd-src/gnu/gcc/gcc/config/rs6000/ |
| H A D | linux-unwind.h | 111 } *frame = (struct sigframe *) context->cfa; in get_regs() 139 } *frame = (struct rt_sigframe *) context->cfa; in get_regs() 168 } *frame = (struct sigframe *) context->cfa; in get_regs() 178 } *frame = (struct rt_sigframe *) context->cfa; in get_regs() 237 fs->cfa_offset = new_cfa - (long) context->cfa; in ppc_fallback_frame_state() 345 _Unwind_SetGRPtr (context, 2, context->cfa + 40); in frob_update_context()
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/sparc/ |
| H A D | linux64.h | 354 this_cfa_ = (long) (CONTEXT)->cfa; \ 355 new_cfa_ = *(long *)(((CONTEXT)->cfa) + (regs_off_ + (14 * 8))); \ 360 (FS)->cfa_offset = new_cfa_ - (long) (CONTEXT)->cfa; \ 418 this_cfa_ = (int) (CONTEXT)->cfa; \ 419 new_cfa_ = *(int *)(((CONTEXT)->cfa) + (regs_off_+(4*4)+(14 * 4))); \ 423 (FS)->cfa_offset = new_cfa_ - (int) (CONTEXT)->cfa; \
|
| /openbsd-src/gnu/gcc/gcc/config/sh/ |
| H A D | linux-unwind.h | 76 sc = context->cfa; in shmedia_fallback_frame_state() 87 } *rt_ = context->cfa; in shmedia_fallback_frame_state() 99 fs->cfa_offset = new_cfa - (long) context->cfa; in shmedia_fallback_frame_state() 173 sc = context->cfa; in sh_fallback_frame_state() 184 } *rt_ = context->cfa; in sh_fallback_frame_state() 196 fs->cfa_offset = new_cfa - (long) context->cfa; in sh_fallback_frame_state()
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | unwind-dw2.c | 69 void *cfa; member 223 return (_Unwind_Ptr) context->cfa; in _Unwind_GetCFA() 1188 void *cfa; member 1252 _Unwind_SetSpColumn (struct _Unwind_Context *context, void *cfa, in _Unwind_SetSpColumn() argument 1258 tmp_sp->ptr = (_Unwind_Ptr) cfa; in _Unwind_SetSpColumn() 1262 tmp_sp->word = (_Unwind_Ptr) cfa; in _Unwind_SetSpColumn() 1271 void *cfa; in uw_update_context_1() local 1293 _Unwind_SetSpColumn (&orig_context, context->cfa, &tmp_sp); in uw_update_context_1() 1301 cfa = _Unwind_GetPtr (&orig_context, fs->cfa_reg); in uw_update_context_1() 1302 cfa += fs->cfa_offset; in uw_update_context_1() [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | unwind-dw2.c | 60 void *cfa; member 209 return (_Unwind_Ptr) context->cfa; in _Unwind_GetCFA() 1027 void *cfa; member 1091 void *cfa; in uw_update_context_1() local 1114 tmp_sp = (_Unwind_Ptr) context->cfa; in uw_update_context_1() 1124 cfa = (void *) (_Unwind_Ptr) _Unwind_GetGR (&orig_context, fs->cfa_reg); in uw_update_context_1() 1125 cfa += fs->cfa_offset; in uw_update_context_1() 1134 cfa = (void *) (_Unwind_Ptr) in uw_update_context_1() 1142 context->cfa = cfa; in uw_update_context_1() 1152 context->reg[i] = cfa + fs->regs.reg[i].loc.offset; in uw_update_context_1() [all …]
|
| /openbsd-src/gnu/llvm/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 | 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()
|
| 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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/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()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/ABI/ARM/ |
| 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()
|
| 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()
|