Lines Matching refs:cfa
214 unw_word_t cfa, in trace_init_addr() argument
237 d->cfa = cfa; in trace_init_addr()
276 unw_word_t cfa, in trace_lookup() argument
331 return trace_init_addr (frame, cursor, cfa, rip, rbp, rsp); in trace_lookup()
403 unw_word_t rbp, rsp, rip, cfa; in tdep_trace() local
413 Debug (1, "begin ip 0x%lx cfa 0x%lx\n", d->ip, d->cfa); in tdep_trace()
421 rsp = cfa = d->cfa; in tdep_trace()
442 depth, cfa, rip, rsp, rbp); in tdep_trace()
449 unw_tdep_frame_t *f = trace_lookup (cursor, cache, cfa, rip, rbp, rsp); in tdep_trace()
483 cfa = (f->cfa_reg_rsp ? rsp : rbp) + f->cfa_reg_offset; in tdep_trace()
486 ACCESS_MEM_FAST(ret, validate, d, cfa - 8, rip); in tdep_trace()
488 ACCESS_MEM_FAST(ret, validate, d, cfa + f->rbp_cfa_offset, rbp); in tdep_trace()
491 rsp = cfa; in tdep_trace()
498 cfa = cfa + f->cfa_reg_offset; /* cfa now points to ucontext_t. */ in tdep_trace()
502 ACCESS_MEM_FAST(ret, validate, d, cfa + UC_MCONTEXT_GREGS_RIP, rip); in tdep_trace()
504 ACCESS_MEM_FAST(ret, validate, d, cfa + UC_MCONTEXT_GREGS_RBP, rbp); in tdep_trace()
506 ACCESS_MEM_FAST(ret, validate, d, cfa + UC_MCONTEXT_GREGS_RSP, rsp); in tdep_trace()
510 cfa = rsp; in tdep_trace()
519 cfa = (f->cfa_reg_rsp ? rsp : rbp) + f->cfa_reg_offset; in tdep_trace()
522 ACCESS_MEM_FAST(ret, validate, d, cfa, cfa); in tdep_trace()
524 ACCESS_MEM_FAST(ret, validate, d, cfa - 8, rip); in tdep_trace()
529 rsp = cfa; in tdep_trace()
545 cfa, rip, rsp, rbp); in tdep_trace()