/external/libunwind/include/ |
D | dwarf.h | 236 unw_word_t val; /* where it's saved */ 257 unw_word_t ip; /* ip this rs is for */ 258 …unw_word_t ret_addr_column; /* indicates which column in the rule table represents retur… 269 unw_word_t cie_instr_start; /* start addr. of CIE "initial_instructions" */ 270 unw_word_t cie_instr_end; /* end addr. of CIE "initial_instructions" */ 271 unw_word_t fde_instr_start; /* start addr. of FDE "instructions" */ 272 unw_word_t fde_instr_end; /* end addr. of FDE "instructions" */ 273 unw_word_t code_align; /* code-alignment factor */ 274 unw_word_t data_align; /* data-alignment factor */ 275 unw_word_t ret_addr_column; /* column of return-address register */ [all …]
|
D | libunwind-common.h | 109 unw_word_t opaque[UNW_TDEP_CURSOR_LEN]; 139 unw_word_t start_ip; /* first IP covered by this procedure */ 140 unw_word_t end_ip; /* first IP NOT covered by this procedure */ 141 unw_word_t lsda; /* address of lang.-spec. data area (if any) */ 142 unw_word_t handler; /* optional personality routine */ 143 unw_word_t gp; /* global-pointer value for this procedure */ 144 unw_word_t flags; /* misc. flags */ 160 int (*find_proc_info) (unw_addr_space_t, unw_word_t, unw_proc_info_t *, 170 int (*get_dyn_info_list_addr) (unw_addr_space_t, unw_word_t *, void *); 176 int (*access_mem) (unw_addr_space_t, unw_word_t, unw_word_t *, int, [all …]
|
D | dwarf_i.h | 15 # define dwarf_addr_size(as) (sizeof (unw_word_t)) 46 dwarf_reads8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads8() 57 dwarf_reads16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads16() 68 dwarf_reads32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads32() 79 dwarf_reads64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_reads64() 90 dwarf_readu8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu8() 101 dwarf_readu16 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu16() 112 dwarf_readu32 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu32() 123 dwarf_readu64 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu64() 136 dwarf_readu8 (unw_addr_space_t as, unw_accessors_t *a, unw_word_t *addr, in dwarf_readu8() [all …]
|
D | remote.h | 12 unw_word_t *addr, int8_t *valp, void *arg) in fetch8() 21 unw_word_t *addr, int16_t *valp, void *arg) in fetch16() 30 unw_word_t *addr, int32_t *valp, void *arg) in fetch32() 39 unw_word_t *addr, unw_word_t *valp, void *arg) in fetchw() 41 *valp = *(unw_word_t *) (uintptr_t) *addr; in fetchw() 42 *addr += sizeof (unw_word_t); in fetchw() 48 #define WSIZE (sizeof (unw_word_t)) 52 unw_word_t *addr, int8_t *valp, void *arg) in fetch8() 54 unw_word_t val, aligned_addr = *addr & -WSIZE, off = *addr - aligned_addr; in fetch8() 72 unw_word_t *addr, int16_t *valp, void *arg) in fetch16() [all …]
|
D | libunwind-dynamic.h | 89 unw_word_t val; /* auxiliary value */ 104 unw_word_t name_ptr; /* address of human-readable procedure name */ 105 unw_word_t handler; /* address of personality routine */ 114 unw_word_t name_ptr; /* addr. of table name (e.g., library name) */ 115 unw_word_t segbase; /* segment base */ 116 unw_word_t table_len; /* must be a multiple of sizeof(unw_word_t)! */ 117 unw_word_t *table_data; 123 unw_word_t name_ptr; /* addr. of table name (e.g., library name) */ 124 unw_word_t segbase; /* segment base */ 125 unw_word_t table_len; /* must be a multiple of sizeof(unw_word_t)! */ [all …]
|
/external/libunwind/include/tdep-ia64/ |
D | libunwind_i.h | 75 typedef unw_word_t ia64_loc_t; 81 unw_word_t w0, w1; 108 unw_word_t dyn_generation; 109 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 137 unw_word_t ip; /* instruction pointer value */ 138 unw_word_t cfm; /* current frame mask */ 139 unw_word_t pr; /* current predicate values */ 142 unw_word_t bsp; /* backing store pointer value */ 143 unw_word_t sp; /* stack pointer value */ 144 unw_word_t psp; /* previous sp value */ [all …]
|
/external/libunwind/src/ia64/ |
D | unwind_i.h | 39 #define IA64_UNW_FLAG_MASK ((unw_word_t) 0x0000ffff00000000ULL) 40 #define IA64_UNW_FLAG_OSMASK ((unw_word_t) 0x0000f00000000000ULL) 41 #define IA64_UNW_FLAG_EHANDLER(x) ((x) & (unw_word_t) 0x0000000100000000ULL) 42 #define IA64_UNW_FLAG_UHANDLER(x) ((x) & (unw_word_t) 0x0000000200000000ULL) 43 #define IA64_UNW_LENGTH(x) ((x) & (unw_word_t) 0x00000000ffffffffULL) 55 unw_word_t reg_addr; in inlined_uc_addr() 86 reg_addr = (unw_word_t) &uc->uc_mcontext.sc_gr[reg - UNW_IA64_NAT]; in inlined_uc_addr() 146 #define IA64_REG_LOC(c,r) ((unw_word_t) uc_addr((c)->as_arg, r, NULL)) 147 #define IA64_REG_NAT_LOC(c,r,n) ((unw_word_t) uc_addr((c)->as_arg, r, n)) 149 ((unw_word_t) uc_addr((c)->as_arg, (r), NULL) | IA64_LOC_TYPE_FP) [all …]
|
D | Grbs.c | 81 unw_word_t saved_bsp, unw_word_t saved_bspstore, in rbs_switch() 85 unw_word_t lo, ndirty, rbs_base; in rbs_switch() 125 rbs_find_stacked (struct cursor *c, unw_word_t regs_to_skip, in rbs_find_stacked() 128 unw_word_t nregs, bsp = c->bsp, curr = c->rbs_curr, n; in rbs_find_stacked() 129 unw_word_t left_edge = c->rbs_left_edge; in rbs_find_stacked() 154 unw_word_t addr; in rbs_find_stacked() 180 get_rnat (struct cursor *c, struct rbs_area *rbs, unw_word_t bsp, in get_rnat() 181 unw_word_t *__restrict rnatp) in get_rnat() 199 rbs_cover_and_flush (struct cursor *c, unw_word_t nregs, in rbs_cover_and_flush() 200 unw_word_t *dirty_partition, unw_word_t *dirty_rnat, in rbs_cover_and_flush() [all …]
|
/external/libunwind/tests/ |
D | Gia64-test-nat.c | 52 typedef unw_word_t *check_func_t (unw_cursor_t *c, unsigned long *vals); 95 static unw_word_t values[MAX_CHECKS*MAX_VALUES_PER_FUNC]; 117 static unw_word_t 120 unw_word_t val = random (); in random_word() 122 if (sizeof (unw_word_t) > 4) in random_word() 123 val |= ((unw_word_t) random ()) << 32; in random_word() 206 static unw_word_t * 207 check_static_to_stacked (unw_cursor_t *c, unw_word_t *vals) in check_static_to_stacked() 209 unw_word_t r[4]; in check_static_to_stacked() 210 unw_word_t nat[4]; in check_static_to_stacked() [all …]
|
/external/libunwind/src/x86/ |
D | Ginit.c | 71 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 74 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 88 static unw_word_t last_good_addr[NLGA]; 92 validate_mem (unw_word_t addr) in validate_mem() 100 if (PAGE_START(addr + sizeof (unw_word_t) - 1) == PAGE_START(addr)) in validate_mem() 141 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 148 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 152 *(unw_word_t *) addr = *val; in access_mem() 174 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 177 *val = *(unw_word_t *) addr; in access_mem() [all …]
|
/external/libunwind/src/x86_64/ |
D | Ginit.c | 64 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 67 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 112 static unw_word_t last_good_addr[NLGA]; 116 validate_mem (unw_word_t addr) in validate_mem() 121 if (PAGE_START(addr + sizeof (unw_word_t) - 1) == PAGE_START(addr)) in validate_mem() 158 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 165 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 169 *(unw_word_t *) addr = *val; in access_mem() 191 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 194 *val = *(unw_word_t *) addr; in access_mem() [all …]
|
/external/libunwind/src/arm/ |
D | Ginit.c | 68 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 71 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 76 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 83 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 87 *(unw_word_t *) addr = *val; in access_mem() 102 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 105 *val = *(unw_word_t *) addr; in access_mem() 121 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 124 unw_word_t *addr; in access_reg() 136 *(unw_word_t *) addr = *val; in access_reg() [all …]
|
/external/libunwind/src/aarch64/ |
D | Ginit.c | 76 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 79 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 84 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 91 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 95 *(unw_word_t *) addr = *val; in access_mem() 110 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 113 *val = *(unw_word_t *) addr; in access_mem() 129 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 132 unw_word_t *addr; in access_reg() 143 *(unw_word_t *) addr = *val; in access_reg() [all …]
|
/external/libunwind/include/tdep-mips/ |
D | libunwind_i.h | 65 unw_word_t dyn_generation; /* see dyn-common.h */ 66 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 79 unw_word_t sigcontext_addr; 97 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) (intptr_t) \ 100 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) (intptr_t) \ 109 if (!addr || !map_local_is_readable ((unw_word_t) (uintptr_t) addr, sizeof(unw_fpreg_t))) in dwarf_getfp() 122 if (!addr || !map_local_is_writable ((unw_word_t) (uintptr_t) addr, sizeof(unw_fpreg_t))) in dwarf_putfp() 131 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 135 if (!addr || !map_local_is_readable ((unw_word_t) (uintptr_t) addr, sizeof(mips_reg_t))) in dwarf_get() 144 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() [all …]
|
/external/libunwind/include/tdep-ppc64/ |
D | libunwind_i.h | 63 unw_word_t dyn_generation; /* see dyn-common.h */ 64 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 85 unw_word_t sigcontext_addr; 98 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 100 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 102 # define DWARF_VREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 128 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() 129 unw_word_t addr; in dwarf_getvr() 154 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() 155 unw_word_t addr; in dwarf_putvr() [all …]
|
/external/libunwind/include/tdep-ppc32/ |
D | libunwind_i.h | 63 unw_word_t dyn_generation; /* see dyn-common.h */ 64 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 85 unw_word_t sigcontext_addr; 98 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 100 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 102 # define DWARF_VREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 128 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() 129 unw_word_t addr; in dwarf_getvr() 154 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() 155 unw_word_t addr; in dwarf_putvr() [all …]
|
/external/libunwind/include/tdep-aarch64/ |
D | libunwind_i.h | 51 typedef unw_word_t aarch64_loc_t; 57 unw_word_t w0, w1; 73 unw_word_t dyn_generation; /* see dyn-common.h */ 74 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 91 unw_word_t sigcontext_addr; 92 unw_word_t sigcontext_sp; 93 unw_word_t sigcontext_pc; 103 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 106 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 114 if (!addr || !map_local_is_readable ((unw_word_t) (uintptr_t) addr, sizeof(unw_fpreg_t))) in dwarf_getfp() [all …]
|
/external/libunwind/src/mips/ |
D | Ginit.c | 86 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 89 *dyn_info_list_addr = (unw_word_t) (intptr_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 94 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 101 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 105 *(unw_word_t *) (uintptr_t) addr = *val; in access_mem() 121 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 124 *val = *(unw_word_t *) (uintptr_t) addr; in access_mem() 140 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 143 unw_word_t *addr; in access_reg() 155 *(unw_word_t *) (intptr_t) addr = (mips_reg_t) *val; in access_reg() [all …]
|
/external/libunwind/src/sh/ |
D | Ginit.c | 75 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 78 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 83 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 90 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 94 *(unw_word_t *) addr = *val; in access_mem() 109 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 112 *val = *(unw_word_t *) addr; in access_mem() 128 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 131 unw_word_t *addr; in access_reg() 142 *(unw_word_t *) addr = *val; in access_reg() [all …]
|
/external/libunwind/include/tdep-arm/ |
D | libunwind_i.h | 58 unw_word_t dyn_generation; /* see dyn-common.h */ 59 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 79 unw_word_t sigcontext_addr; 80 unw_word_t sigcontext_sp; 81 unw_word_t sigcontext_pc; 91 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 94 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 102 if (!addr || !map_local_is_readable ((unw_word_t) (uintptr_t) addr, sizeof(unw_fpreg_t))) in dwarf_getfp() 115 if (!addr || !map_local_is_writable ((unw_word_t) (uintptr_t) addr, sizeof(unw_fpreg_t))) in dwarf_putfp() 124 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() [all …]
|
/external/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 36 static bool get_dyn_gp(struct elf_image* ei, Elf_W(Off) dyn_phdr_offset, unw_word_t* gp) { in get_dyn_gp() 41 unw_word_t map_size = ei->u.memory.end - ei->u.memory.start; in get_dyn_gp() 61 struct elf_image* ei, unw_word_t phdr_offset, unw_word_t load_base, unw_dyn_info_t* di_cache) { in get_eh_frame_info() 64 unw_word_t hdr_offset = phdr.p_offset; in get_eh_frame_info() 87 unw_word_t addr = (unw_word_t) (uintptr_t) (hdr_offset + sizeof(struct dwarf_eh_frame_hdr)); in get_eh_frame_info() 90 unw_word_t eh_frame_start; in get_eh_frame_info() 97 unw_word_t fde_count; in get_eh_frame_info() 112 di_cache->u.rti.table_len = (fde_count * 8) / sizeof (unw_word_t); in get_eh_frame_info() 128 unw_word_t segbase, unw_word_t mapoff, unw_word_t ip) { in dwarf_find_unwind_table_memory() 141 unw_word_t start_ip = (unw_word_t) -1; in dwarf_find_unwind_table_memory() [all …]
|
/external/libunwind/src/hppa/ |
D | Ginit.c | 81 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 84 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 89 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 96 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 100 *(unw_word_t *) addr = *val; in access_mem() 115 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 118 *val = *(unw_word_t *) addr; in access_mem() 134 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 137 unw_word_t *addr; in access_reg() 149 *(unw_word_t *) addr = *val; in access_reg() [all …]
|
/external/libunwind/include/tdep-sh/ |
D | libunwind_i.h | 58 unw_word_t dyn_generation; /* see dyn-common.h */ 59 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 77 unw_word_t sigcontext_addr; 78 unw_word_t sigcontext_sp; 79 unw_word_t sigcontext_pc; 89 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 92 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 100 if (!addr || !map_local_is_readable ((unw_word_t) addr, sizeof(unw_fpreg_t))) in dwarf_getfp() 113 if (!addr || !map_local_is_writable ((unw_word_t) addr, sizeof(unw_fpreg_t))) in dwarf_putfp() 122 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() [all …]
|
/external/libunwind/src/ppc32/ |
D | Ginit.c | 104 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 107 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 112 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 119 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 123 *(unw_word_t *) addr = *val; in access_mem() 138 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 141 *val = *(unw_word_t *) addr; in access_mem() 157 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, in access_reg() 160 unw_word_t *addr; in access_reg() 173 *(unw_word_t *) addr = *val; in access_reg() [all …]
|
/external/libunwind/src/ppc64/ |
D | Ginit.c | 108 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 111 *dyn_info_list_addr = (unw_word_t) &_U_dyn_info_list; in get_dyn_info_list_addr() 116 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 123 if (map_local_is_writable (addr, sizeof(unw_word_t))) in access_mem() 127 *(unw_word_t *) addr = *val; in access_mem() 142 if (map_local_is_readable (addr, sizeof(unw_word_t))) in access_mem() 145 *val = *(unw_word_t *) addr; in access_mem() 161 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, in access_reg() 164 unw_word_t *addr; in access_reg() 178 *(unw_word_t *) addr = *val; in access_reg() [all …]
|