• Home
  • Raw
  • Download

Lines Matching refs:unwound

502   assert (state->unwound == NULL);  in new_unwound()
508 Dwfl_Frame *unwound; in new_unwound() local
509 unwound = malloc (sizeof (*unwound) + sizeof (*unwound->regs) * nregs); in new_unwound()
510 if (unlikely (unwound == NULL)) in new_unwound()
512 state->unwound = unwound; in new_unwound()
513 unwound->thread = thread; in new_unwound()
514 unwound->unwound = NULL; in new_unwound()
515 unwound->signal_frame = false; in new_unwound()
516 unwound->initial_frame = false; in new_unwound()
517 unwound->pc_state = DWFL_FRAME_STATE_ERROR; in new_unwound()
518 memset (unwound->regs_set, 0, sizeof (unwound->regs_set)); in new_unwound()
519 return unwound; in new_unwound()
537 Dwfl_Frame *unwound = new_unwound (state); in handle_cfi() local
538 if (unwound == NULL) in handle_cfi()
544 unwound->signal_frame = frame->fde->cie->signal_frame; in handle_cfi()
577 unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in handle_cfi()
616 if (! __libdwfl_frame_reg_set (unwound, regno, regval)) in handle_cfi()
628 if (unwound->pc_state == DWFL_FRAME_STATE_ERROR) in handle_cfi()
630 int res = INTUSE (dwfl_frame_reg) (unwound, in handle_cfi()
632 &unwound->pc); in handle_cfi()
638 if (unwound->pc == 0) in handle_cfi()
639 unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in handle_cfi()
642 unwound->pc_state = DWFL_FRAME_STATE_PC_SET; in handle_cfi()
647 unwound->pc += ebl_ra_offset (ebl); in handle_cfi()
659 unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in handle_cfi()
669 Dwfl_Frame *unwound = state->unwound; in setfunc() local
674 assert (unwound->pc_state == DWFL_FRAME_STATE_PC_UNDEFINED); in setfunc()
675 unwound->pc = *regs; in setfunc()
676 unwound->pc_state = DWFL_FRAME_STATE_PC_SET; in setfunc()
680 if (! __libdwfl_frame_reg_set (unwound, firstreg++, *regs++)) in setfunc()
710 if (state->unwound) in __libdwfl_frame_unwind()
732 if (state->unwound) in __libdwfl_frame_unwind()
739 if (state->unwound) in __libdwfl_frame_unwind()
743 assert (state->unwound == NULL); in __libdwfl_frame_unwind()
752 state->unwound->pc_state = DWFL_FRAME_STATE_PC_UNDEFINED; in __libdwfl_frame_unwind()
759 assert (state->unwound->unwound == NULL); in __libdwfl_frame_unwind()
760 free (state->unwound); in __libdwfl_frame_unwind()
761 state->unwound = NULL; in __libdwfl_frame_unwind()
765 assert (state->unwound->pc_state == DWFL_FRAME_STATE_PC_SET); in __libdwfl_frame_unwind()
766 state->unwound->signal_frame = signal_frame; in __libdwfl_frame_unwind()