Home
last modified time | relevance | path

Searched refs:unw_word_t (Results 1 – 25 of 210) sorted by relevance

123456789

/third_party/libunwind/libunwind/include/
Ddwarf.h253 unw_word_t val[DWARF_NUM_PRESERVED_REGS + 2]; /* where it's saved */
259 unw_word_t ret_addr_column; /* which column in rule table represents return address */
273 unw_word_t ip; /* ip this rs is for */
283 unw_word_t cie_instr_start; /* start addr. of CIE "initial_instructions" */
284 unw_word_t cie_instr_end; /* end addr. of CIE "initial_instructions" */
285 unw_word_t fde_instr_start; /* start addr. of FDE "instructions" */
286 unw_word_t fde_instr_end; /* end addr. of FDE "instructions" */
287 unw_word_t code_align; /* code-alignment factor */
288 unw_word_t data_align; /* data-alignment factor */
289 unw_word_t ret_addr_column; /* column of return-address register */
[all …]
Dlibunwind-common.h116 unw_word_t opaque[UNW_TDEP_CURSOR_LEN];
146 unw_word_t start_ip; /* first IP covered by this procedure */
147 unw_word_t end_ip; /* first IP NOT covered by this procedure */
149 unw_word_t last_ip; /* first IP that could begin another procedure */
151 unw_word_t lsda; /* address of lang.-spec. data area (if any) */
152 unw_word_t handler; /* optional personality routine */
153 unw_word_t gp; /* global-pointer value for this procedure */
154 unw_word_t flags; /* misc. flags */
166 unw_word_t start_ip, unw_word_t end_ip);
175 int (*find_proc_info) (unw_addr_space_t, unw_word_t, unw_proc_info_t *,
[all …]
Ddwarf_i.h15 # 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 …]
Dremote.h12 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 …]
Dlibunwind-dynamic.h93 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/libunwind/include/tdep-ia64/
Dlibunwind_i.h73 typedef unw_word_t ia64_loc_t;
79 unw_word_t w0, w1;
102 unw_word_t dyn_generation;
103 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
127 unw_word_t ip; /* instruction pointer value */
128 unw_word_t cfm; /* current frame mask */
129 unw_word_t pr; /* current predicate values */
132 unw_word_t bsp; /* backing store pointer value */
133 unw_word_t sp; /* stack pointer value */
134 unw_word_t psp; /* previous sp value */
[all …]
/third_party/libunwind/libunwind/src/ia64/
Dunwind_i.h39 #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 …]
DGrbs.c81 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 …]
DGinit.c63 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/libunwind/tests/
DGia64-test-nat.c52 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/libunwind/include/tdep-ppc64/
Dlibunwind_i.h59 unw_word_t dyn_generation; /* see dyn-common.h */
60 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
78 unw_word_t sigcontext_addr;
88 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \
91 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
93 # define DWARF_VREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
133 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get()
137 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get()
142 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put()
146 *(unw_word_t *) DWARF_GET_LOC (loc) = val; in dwarf_put()
[all …]
/third_party/libunwind/libunwind/src/riscv/
DGinit.c54 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/libunwind/src/x86_64/
DGinit.c63 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/libunwind/include/tdep-ppc32/
Dlibunwind_i.h57 unw_word_t dyn_generation; /* see dyn-common.h */
58 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
76 unw_word_t sigcontext_addr;
89 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \
91 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
93 # define DWARF_VREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
119 unw_word_t *valp = (unw_word_t *) val; in dwarf_getvr()
120 unw_word_t addr; in dwarf_getvr()
145 unw_word_t *valp = (unw_word_t *) & val; in dwarf_putvr()
146 unw_word_t addr; in dwarf_putvr()
[all …]
/third_party/libunwind/libunwind/src/arm/
DGinit.c66 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr()
198 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate()
220 static _Thread_local unw_word_t last_good_addr[NLGA];
224 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem()
236 cache_valid_mem(unw_word_t addr) in cache_valid_mem()
256 static _Atomic unw_word_t last_good_addr[NLGA];
260 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem()
272 cache_valid_mem(unw_word_t addr) in cache_valid_mem()
276 unw_word_t zero = 0; in cache_valid_mem()
292 validate_mem (unw_word_t addr) in validate_mem()
[all …]
/third_party/libunwind/libunwind/src/aarch64/
DGinit.c76 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr()
203 unw_word_t addr = PAGE_START((unw_word_t)&present); in tdep_init_mem_validate()
225 static _Thread_local unw_word_t last_good_addr[NLGA];
229 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem()
241 cache_valid_mem(unw_word_t addr) in cache_valid_mem()
261 static _Atomic unw_word_t last_good_addr[NLGA];
265 is_cached_valid_mem(unw_word_t addr) in is_cached_valid_mem()
277 cache_valid_mem(unw_word_t addr) in cache_valid_mem()
281 unw_word_t zero = 0; in cache_valid_mem()
297 validate_mem (unw_word_t addr) in validate_mem()
[all …]
/third_party/libunwind/libunwind/include/tdep-sh/
Dlibunwind_i.h52 unw_word_t dyn_generation; /* see dyn-common.h */
53 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
68 unw_word_t sigcontext_addr;
69 unw_word_t sigcontext_sp;
70 unw_word_t sigcontext_pc;
80 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \
83 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
105 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get()
109 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get()
114 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put()
[all …]
/third_party/libunwind/libunwind/include/tdep-mips/
Dlibunwind_i.h59 unw_word_t dyn_generation; /* see dyn-common.h */
60 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
70 unw_word_t sigcontext_addr;
88 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) (intptr_t) \
91 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) (intptr_t) \
114 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get()
123 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put()
146 read_s32 (struct dwarf_cursor *c, unw_word_t addr, unw_word_t *val) in read_s32()
150 unw_word_t memval; in read_s32()
165 write_s32 (struct dwarf_cursor *c, unw_word_t addr, const unw_word_t *val) in write_s32()
[all …]
/third_party/libunwind/libunwind/include/tdep-aarch64/
Dlibunwind_i.h65 typedef unw_word_t aarch64_loc_t;
71 unw_word_t w0, w1;
83 unw_word_t dyn_generation; /* see dyn-common.h */
84 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
101 unw_word_t sigcontext_addr;
102 unw_word_t sigcontext_sp;
103 unw_word_t sigcontext_pc;
122 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \
125 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
147 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get()
[all …]
/third_party/libunwind/libunwind/include/tdep-hppa/
Dlibunwind_i.h51 unw_word_t dyn_generation; /* see dyn-common.h */
52 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
69 unw_word_t sigcontext_addr;
79 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \
82 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
104 dwarf_get (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t *val) in dwarf_get()
108 *val = *(unw_word_t *) DWARF_GET_LOC (loc); in dwarf_get()
113 dwarf_put (struct dwarf_cursor *c, dwarf_loc_t loc, unw_word_t val) in dwarf_put()
117 *(unw_word_t *) DWARF_GET_LOC (loc) = val; in dwarf_put()
139 unw_word_t addr; in dwarf_getfp()
[all …]
/third_party/libunwind/libunwind/include/tdep-riscv/
Dlibunwind_i.h65 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/libunwind/src/dwarf/
DGfind_proc_info-lsb.c56 unw_word_t ip,
65 linear_search (unw_addr_space_t as, unw_word_t ip, in linear_search()
66 unw_word_t eh_frame_start, unw_word_t eh_frame_end, in linear_search()
67 unw_word_t fde_count, in linear_search()
71 unw_word_t i = 0, fde_addr, addr = eh_frame_start; in linear_search()
111 unw_word_t segbase, unw_word_t *load_offset) in load_debug_frame()
219 find_binary_for_address (unw_word_t ip, char *name, size_t name_size) in find_binary_for_address()
253 locate_debug_info (unw_addr_space_t as, unw_word_t addr, unw_word_t segbase, in locate_debug_info()
254 const char *dlname, unw_word_t start, unw_word_t end) in locate_debug_info()
262 unw_word_t load_offset; in locate_debug_info()
[all …]
/third_party/libunwind/libunwind/include/tdep-s390x/
Dlibunwind_i.h47 unw_word_t dyn_generation; /* see dyn-common.h */
48 unw_word_t dyn_info_list_addr; /* (cached) dyn_info_list_addr */
66 unw_word_t sigcontext_addr;
67 unw_word_t sigcontext_sp;
68 unw_word_t sigcontext_pc;
98 # define DWARF_REG_LOC(c,r) (DWARF_LOC((unw_word_t) \
100 # define DWARF_FPREG_LOC(c,r) (DWARF_LOC((unw_word_t) \
117 assert(sizeof(unw_fpreg_t) == sizeof(unw_word_t)); in dwarf_getfp()
127 return (*c->as->acc.access_reg) (c->as, DWARF_GET_LOC (loc), (unw_word_t*)val, in dwarf_getfp()
130 return (*c->as->acc.access_mem) (c->as, DWARF_GET_LOC (loc), (unw_word_t*)val, in dwarf_getfp()
[all …]
/third_party/libunwind/libunwind/src/s390x/
DGinit.c83 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 …]
/third_party/libunwind/libunwind/src/x86/
DGinit.c64 get_dyn_info_list_addr (unw_addr_space_t as, unw_word_t *dyn_info_list_addr, in get_dyn_info_list_addr()
82 static unw_word_t last_good_addr[NLGA];
86 validate_mem (unw_word_t addr) in validate_mem()
94 if (PAGE_START(addr + sizeof (unw_word_t) - 1) == PAGE_START(addr)) in validate_mem()
135 access_mem (unw_addr_space_t as, unw_word_t addr, unw_word_t *val, int write, in access_mem()
141 *(unw_word_t *) addr = *val; in access_mem()
149 *val = *(unw_word_t *) addr; in access_mem()
156 access_reg (unw_addr_space_t as, unw_regnum_t reg, unw_word_t *val, int write, in access_reg()
159 unw_word_t *addr; in access_reg()
170 *(unw_word_t *) addr = *val; in access_reg()
[all …]

123456789