/third_party/libunwind/include/ |
D | dwarf.h | 258 unw_word_t val[DWARF_NUM_PRESERVED_REGS + 2]; /* where it's saved */ 264 unw_word_t ret_addr_column; /* which column in rule table represents return address */ 278 unw_word_t ip; /* ip this rs is for */ 288 unw_word_t cie_instr_start; /* start addr. of CIE "initial_instructions" */ 289 unw_word_t cie_instr_end; /* end addr. of CIE "initial_instructions" */ 290 unw_word_t fde_instr_start; /* start addr. of FDE "instructions" */ 291 unw_word_t fde_instr_end; /* end addr. of FDE "instructions" */ 292 unw_word_t code_align; /* code-alignment factor */ 293 unw_word_t data_align; /* data-alignment factor */ 294 unw_word_t ret_addr_column; /* column of return-address register */ [all …]
|
D | libunwind-common.h | 103 unw_word_t opaque[UNW_TDEP_CURSOR_LEN]; 132 unw_word_t start_ip; /* first IP covered by this procedure */ 133 unw_word_t end_ip; /* first IP NOT covered by this procedure */ 135 unw_word_t last_ip; /* first IP that could begin another procedure */ 137 unw_word_t lsda; /* address of lang.-spec. data area (if any) */ 138 unw_word_t handler; /* optional personality routine */ 139 unw_word_t gp; /* global-pointer value for this procedure */ 140 unw_word_t flags; /* misc. flags */ 151 unw_word_t start_ip, unw_word_t end_ip); 160 int (*find_proc_info)(unw_addr_space_t, unw_word_t, unw_proc_info_t *, [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 + 1), off = *addr - aligned_addr; in fetch8() 72 unw_word_t *addr, int16_t *valp, void *arg) in fetch16() [all …]
|
D | libunwind-dynamic.h | 93 unw_word_t val; /* auxiliary value */ 108 unw_word_t name_ptr; /* address of human-readable procedure name */ 109 unw_word_t handler; /* address of personality routine */ 118 unw_word_t name_ptr; /* addr. of table name (e.g., library name) */ 119 unw_word_t segbase; /* segment base */ 120 unw_word_t table_len; /* must be a multiple of sizeof(unw_word_t)! */ 121 unw_word_t *table_data; 127 unw_word_t name_ptr; /* addr. of table name (e.g., library name) */ 128 unw_word_t segbase; /* segment base */ 129 unw_word_t table_len; /* must be a multiple of sizeof(unw_word_t)! */ [all …]
|
/third_party/libunwind/include/tdep-ia64/ |
D | libunwind_i.h | 76 typedef unw_word_t ia64_loc_t; 82 unw_word_t w0, w1; 105 unw_word_t dyn_generation; 106 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 134 unw_word_t ip; /* instruction pointer value */ 135 unw_word_t cfm; /* current frame mask */ 136 unw_word_t pr; /* current predicate values */ 139 unw_word_t bsp; /* backing store pointer value */ 140 unw_word_t sp; /* stack pointer value */ 141 unw_word_t psp; /* previous sp value */ [all …]
|
/third_party/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 …]
|
D | Ginit.c | 63 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 77 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 83 *(unw_word_t *) addr = *val; in access_mem() 87 *val = *(unw_word_t *) addr; in access_mem() 99 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 254 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 257 unw_word_t *addr, mask; in access_reg() 262 mask = ((unw_word_t) 1) << (reg - UNW_IA64_NAT); in access_reg() 296 *val = *(unw_word_t *) addr; in access_reg() 348 get_static_proc_name (unw_addr_space_t as, unw_word_t ip, in get_static_proc_name() [all …]
|
/third_party/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 …]
|
/third_party/libunwind/src/dwarf/ |
D | Gfind_unwind_table.c | 37 #define to_unw_word(p) ((unw_word_t) (uintptr_t) (p)) 55 unw_word_t segbase, unw_word_t mapoff, unw_word_t ip) in dwarf_find_unwind_table() 58 unw_word_t addr, eh_frame_start, fde_count, load_base; in dwarf_find_unwind_table() 59 unw_word_t max_load_addr = (unw_word_t)(ei->image) + ei->size; in dwarf_find_unwind_table() 60 unw_word_t min_load_addr = (unw_word_t)(ei->image); in dwarf_find_unwind_table() 61 unw_word_t start_ip = to_unw_word (-1); in dwarf_find_unwind_table() 62 unw_word_t end_ip = 0; in dwarf_find_unwind_table() 91 if (((unw_word_t)phdr) + sizeof(Elf_W(Phdr)) > max_load_addr || in dwarf_find_unwind_table() 92 ((unw_word_t)phdr) + sizeof(Elf_W(Phdr)) < min_load_addr) { in dwarf_find_unwind_table() 104 if (((unw_word_t)(&(phdr[i])) + sizeof(Elf_W(Phdr))) > max_load_addr || in dwarf_find_unwind_table() [all …]
|
/third_party/libunwind/include/tdep-ppc64/ |
D | libunwind_i.h | 62 unw_word_t dyn_generation; /* see dyn-common.h */ 63 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 84 unw_word_t sigcontext_addr; 94 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 97 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 99 # define DWARF_VREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 139 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 143 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get() 148 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() 152 *(unw_word_t *) DWARF_GET_LOC (loc) = val; in dwarf_put() [all …]
|
/third_party/libunwind/src/riscv/ |
D | Ginit.c | 54 unw_word_t *regs = (unw_word_t*)&uc->uc_mcontext; in uc_addr() 85 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 213 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate() 235 static _Thread_local unw_word_t last_good_addr[NLGA]; 239 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 251 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 271 static _Atomic unw_word_t last_good_addr[NLGA]; 275 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 287 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 291 unw_word_t zero = 0; in cache_valid_mem() [all …]
|
/third_party/libunwind/include/tdep-ppc32/ |
D | libunwind_i.h | 60 unw_word_t dyn_generation; /* see dyn-common.h */ 61 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 82 unw_word_t sigcontext_addr; 95 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 97 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 99 # define DWARF_VREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 125 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr() 126 unw_word_t addr; in dwarf_getvr() 151 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr() 152 unw_word_t addr; in dwarf_putvr() [all …]
|
/third_party/libunwind/src/x86_64/ |
D | Ginit.c | 63 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 194 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate() 216 static _Thread_local unw_word_t last_good_addr[NLGA]; 220 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 232 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 252 static _Atomic unw_word_t last_good_addr[NLGA]; 256 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 268 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 272 unw_word_t zero = 0; in cache_valid_mem() 288 validate_mem (unw_word_t addr) in validate_mem() [all …]
|
/third_party/libunwind/include/tdep-sh/ |
D | libunwind_i.h | 55 unw_word_t dyn_generation; /* see dyn-common.h */ 56 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 74 unw_word_t sigcontext_addr; 75 unw_word_t sigcontext_sp; 76 unw_word_t sigcontext_pc; 86 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 89 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 111 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 115 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get() 120 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() [all …]
|
/third_party/libunwind/include/tdep-arm/ |
D | libunwind_i.h | 72 unw_word_t dyn_generation; /* see dyn-common.h */ 73 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 110 unw_word_t sigcontext_addr; 111 unw_word_t sigcontext_sp; 112 unw_word_t sigcontext_pc; 123 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 126 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 148 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 152 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get() 157 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() [all …]
|
/third_party/libunwind/include/tdep-mips/ |
D | libunwind_i.h | 62 unw_word_t dyn_generation; /* see dyn-common.h */ 63 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 76 unw_word_t sigcontext_addr; 94 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) (intptr_t) \ 97 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) (intptr_t) \ 120 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 129 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() 152 read_s32 (struct dwarf_cursor *c, unw_word_t addr, unw_word_t *val) in read_s32() 156 unw_word_t memval; in read_s32() 171 write_s32 (struct dwarf_cursor *c, unw_word_t addr, const unw_word_t *val) in write_s32() [all …]
|
/third_party/libunwind/include/tdep-aarch64/ |
D | libunwind_i.h | 68 typedef unw_word_t aarch64_loc_t; 74 unw_word_t w0, w1; 86 unw_word_t dyn_generation; /* see dyn-common.h */ 87 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 119 unw_word_t sigcontext_addr; 120 unw_word_t sigcontext_sp; 121 unw_word_t sigcontext_pc; 140 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 143 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 165 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() [all …]
|
/third_party/libunwind/src/arm/ |
D | Ginit.c | 65 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 196 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate() 218 static _Thread_local unw_word_t last_good_addr[NLGA]; 222 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 234 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 254 static _Atomic unw_word_t last_good_addr[NLGA]; 258 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 270 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 274 unw_word_t zero = 0; in cache_valid_mem() 290 validate_mem (unw_word_t addr) in validate_mem() [all …]
|
/third_party/libunwind/src/aarch64/ |
D | Ginit.c | 78 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 204 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate() 226 static _Thread_local unw_word_t last_good_addr[NLGA]; 230 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 242 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 262 static _Atomic unw_word_t last_good_addr[NLGA]; 266 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem() 278 cache_valid_mem(unw_word_t addr) in cache_valid_mem() 282 unw_word_t zero = 0; in cache_valid_mem() 298 validate_mem (unw_word_t addr) in validate_mem() [all …]
|
/third_party/libunwind/src/tilegx/ |
D | Ginit.c | 74 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 88 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 91 if ((long long)addr & (sizeof(unw_word_t) - 1)) in access_mem() 97 *(unw_word_t *) (intptr_t) addr = *val; in access_mem() 101 *val = *(unw_word_t *) (intptr_t) addr; in access_mem() 108 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 111 unw_word_t *addr; in access_reg() 123 *(unw_word_t *) (intptr_t) addr = (tilegx_reg_t) *val; in access_reg() 128 *val = (tilegx_reg_t) *(unw_word_t *) (intptr_t) addr; in access_reg() 139 get_static_proc_name (unw_addr_space_t as, unw_word_t ip, in get_static_proc_name() [all …]
|
/third_party/libunwind/include/tdep-riscv/ |
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 */ 82 unw_word_t sigcontext_addr; 83 unw_word_t sigcontext_sp; 84 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) \ 128 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 132 *val = *(unw_word_t *) (intptr_t) DWARF_GET_LOC (loc); in dwarf_get() 137 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() [all …]
|
/third_party/libunwind/include/tdep-hppa/ |
D | libunwind_i.h | 54 unw_word_t dyn_generation; /* see dyn-common.h */ 55 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */ 75 unw_word_t sigcontext_addr; 85 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 88 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \ 110 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get() 114 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get() 119 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put() 123 *(unw_word_t *) DWARF_GET_LOC (loc) = val; in dwarf_put() 145 unw_word_t addr; in dwarf_getfp() [all …]
|
/third_party/libunwind/src/s390x/ |
D | Ginit.c | 83 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr() 186 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate() 206 static unw_word_t last_good_addr[NLGA]; 210 validate_mem (unw_word_t addr) in validate_mem() 215 if (PAGE_START(addr + sizeof (unw_word_t) - 1) == PAGE_START(addr)) in validate_mem() 252 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem() 258 *(unw_word_t *) addr = *val; in access_mem() 269 *val = *(unw_word_t *) addr; in access_mem() 276 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg() 279 unw_word_t *addr; in access_reg() [all …]
|