/external/libunwind/src/mips/ |
D | Gstep.c | 32 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame() local 43 sc_addr = sp_addr + LINUX_SF_TRAMP_SIZE + sizeof (siginfo_t) + in unw_handle_signal_frame() 47 sc_addr = sp_addr + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 54 sc_addr += 4; in unw_handle_signal_frame() 56 c->sigcontext_addr = sc_addr; in unw_handle_signal_frame() 59 c->dwarf.loc[UNW_MIPS_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in unw_handle_signal_frame() 60 c->dwarf.loc[UNW_MIPS_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in unw_handle_signal_frame() 61 c->dwarf.loc[UNW_MIPS_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in unw_handle_signal_frame() 62 c->dwarf.loc[UNW_MIPS_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in unw_handle_signal_frame() 63 c->dwarf.loc[UNW_MIPS_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/aarch64/ |
D | Gstep.c | 35 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame() local 52 sc_addr = sp_addr + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 57 c->sigcontext_addr = sc_addr; in unw_handle_signal_frame() 62 c->dwarf.loc[UNW_AARCH64_X0] = DWARF_LOC (sc_addr + LINUX_SC_X0_OFF, 0); in unw_handle_signal_frame() 63 c->dwarf.loc[UNW_AARCH64_X1] = DWARF_LOC (sc_addr + LINUX_SC_X1_OFF, 0); in unw_handle_signal_frame() 64 c->dwarf.loc[UNW_AARCH64_X2] = DWARF_LOC (sc_addr + LINUX_SC_X2_OFF, 0); in unw_handle_signal_frame() 65 c->dwarf.loc[UNW_AARCH64_X3] = DWARF_LOC (sc_addr + LINUX_SC_X3_OFF, 0); in unw_handle_signal_frame() 66 c->dwarf.loc[UNW_AARCH64_X4] = DWARF_LOC (sc_addr + LINUX_SC_X4_OFF, 0); in unw_handle_signal_frame() 67 c->dwarf.loc[UNW_AARCH64_X5] = DWARF_LOC (sc_addr + LINUX_SC_X5_OFF, 0); in unw_handle_signal_frame() 68 c->dwarf.loc[UNW_AARCH64_X6] = DWARF_LOC (sc_addr + LINUX_SC_X6_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/ia64/ |
D | Gstep.c | 36 unw_word_t sc_addr; in linux_sigtramp() 41 &sc_addr)) < 0) in linux_sigtramp() 44 c->sigcontext_addr = sc_addr; in linux_sigtramp() 47 && IA64_GET_ADDR (c->loc[IA64_REG_IP]) == sc_addr + LINUX_SC_BR_OFF + 8) in linux_sigtramp() 51 c->loc[IA64_REG_IP] = IA64_LOC_ADDR (sc_addr + LINUX_SC_IP_OFF, 0); in linux_sigtramp() 52 c->cfm_loc = IA64_LOC_ADDR (sc_addr + LINUX_SC_CFM_OFF, 0); in linux_sigtramp() 56 c->loc[IA64_REG_PFS] = IA64_LOC_ADDR (sc_addr + LINUX_SC_AR_PFS_OFF, 0); in linux_sigtramp() 70 unw_word_t sc_addr, num_regs; in linux_interrupt() 73 sc_addr = c->sigcontext_addr = c->sp + 0x10; in linux_interrupt() 82 pfs_loc = IA64_LOC_ADDR (sc_addr + LINUX_OLD_PT_PFS_OFF, 0); in linux_interrupt() [all …]
|
/external/libunwind/src/sh/ |
D | Gstep.c | 35 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame() local 53 sc_addr = sp_addr; in unw_handle_signal_frame() 59 sc_addr = sp_addr + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 64 c->sigcontext_addr = sc_addr; in unw_handle_signal_frame() 69 c->dwarf.loc[UNW_SH_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in unw_handle_signal_frame() 70 c->dwarf.loc[UNW_SH_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in unw_handle_signal_frame() 71 c->dwarf.loc[UNW_SH_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in unw_handle_signal_frame() 72 c->dwarf.loc[UNW_SH_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in unw_handle_signal_frame() 73 c->dwarf.loc[UNW_SH_R4] = DWARF_LOC (sc_addr + LINUX_SC_R4_OFF, 0); in unw_handle_signal_frame() 74 c->dwarf.loc[UNW_SH_R5] = DWARF_LOC (sc_addr + LINUX_SC_R5_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/arm/ |
D | Gstep.c | 106 unw_word_t sc_addr, sp, sp_addr = c->dwarf.cfa; in unw_handle_signal_frame() local 135 sc_addr = sp_addr + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 140 sc_addr = sp_addr; in unw_handle_signal_frame() 150 sc_addr = sp_addr + 8 + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 155 sc_addr = sp_addr + sizeof (siginfo_t) + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 161 c->sigcontext_addr = sc_addr; in unw_handle_signal_frame() 166 c->dwarf.loc[UNW_ARM_R0] = DWARF_LOC (sc_addr + LINUX_SC_R0_OFF, 0); in unw_handle_signal_frame() 167 c->dwarf.loc[UNW_ARM_R1] = DWARF_LOC (sc_addr + LINUX_SC_R1_OFF, 0); in unw_handle_signal_frame() 168 c->dwarf.loc[UNW_ARM_R2] = DWARF_LOC (sc_addr + LINUX_SC_R2_OFF, 0); in unw_handle_signal_frame() 169 c->dwarf.loc[UNW_ARM_R3] = DWARF_LOC (sc_addr + LINUX_SC_R3_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/x86/ |
D | Gos-linux.c | 81 unw_word_t sc_addr; in unw_handle_signal_frame() local 103 c->sigcontext_addr = sc_addr = c->dwarf.cfa + 4; in unw_handle_signal_frame() 114 sc_addr = sigcontext_ptr + LINUX_UC_MCONTEXT_OFF; in unw_handle_signal_frame() 116 esp_loc = DWARF_LOC (sc_addr + LINUX_SC_ESP_OFF, 0); in unw_handle_signal_frame() 124 c->dwarf.loc[EAX] = DWARF_LOC (sc_addr + LINUX_SC_EAX_OFF, 0); in unw_handle_signal_frame() 125 c->dwarf.loc[ECX] = DWARF_LOC (sc_addr + LINUX_SC_ECX_OFF, 0); in unw_handle_signal_frame() 126 c->dwarf.loc[EDX] = DWARF_LOC (sc_addr + LINUX_SC_EDX_OFF, 0); in unw_handle_signal_frame() 127 c->dwarf.loc[EBX] = DWARF_LOC (sc_addr + LINUX_SC_EBX_OFF, 0); in unw_handle_signal_frame() 128 c->dwarf.loc[EBP] = DWARF_LOC (sc_addr + LINUX_SC_EBP_OFF, 0); in unw_handle_signal_frame() 129 c->dwarf.loc[ESI] = DWARF_LOC (sc_addr + LINUX_SC_ESI_OFF, 0); in unw_handle_signal_frame() [all …]
|
/external/libunwind/src/hppa/ |
D | Gstep.c | 58 unw_word_t ip, sc_addr = c->dwarf.ip + LINUX_RT_SIGFRAME_UC_OFF; in unw_step() local 59 dwarf_loc_t iaoq_loc = DWARF_LOC (sc_addr + LINUX_SC_IAOQ_OFF, 0); in unw_step() 62 c->sigcontext_addr = sc_addr; in unw_step() 75 = DWARF_LOC (sc_addr + LINUX_SC_GR_OFF + 4*i, 0); in unw_step() 77 = DWARF_LOC (sc_addr + LINUX_SC_FR_OFF + 4*i, 0); in unw_step()
|
/external/libunwind/src/setjmp/ |
D | setjmp_i.h | 81 unw_word_t sc_addr = ((struct cursor *) c)->sigcontext_addr; in resume_restores_sigmask() local 82 struct sigcontext *sc = (struct sigcontext *) sc_addr; in resume_restores_sigmask() 86 if (!sc_addr) in resume_restores_sigmask()
|