Searched defs:segbase (Results 1 - 15 of 15) sorted by relevance

/external/libunwind/src/
H A Dos-common.c36 unsigned long *segbase, unsigned long *mapoff, char **path)
41 return local_get_elf_image (ei, ip, segbase, mapoff, path);
51 *segbase = map->start;
34 tdep_get_elf_image(unw_addr_space_t as, struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char **path) argument
H A Dos-hpux.c47 unsigned long *segbase, unsigned long *mapoff, char **path)
92 Debug(1, "segbase=%lx, mapoff=%lx, path=%s\n", map->start, map->offset, map->path);
123 *segbase = map->start;
45 tdep_get_elf_image(unw_addr_space_t as, struct elf_image *ei, pid_t pid, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char **path) argument
H A Dos-qnx.c38 int segbase = info->dlpi_addr + info->dlpi_phdr[i].p_vaddr; local
H A DLos-common.c168 unsigned long *segbase, unsigned long *mapoff, char **path)
189 *segbase = map->start;
167 local_get_elf_image(struct elf_image *ei, unw_word_t ip, unsigned long *segbase, unsigned long *mapoff, char **path) argument
H A Delfxx.c164 elf_w (get_load_offset) (struct elf_image *ei, unsigned long segbase,
178 offset = segbase - phdr[i].p_vaddr;
309 unsigned long segbase,
318 load_offset = elf_w (get_load_offset) (ei, segbase, mapoff);
328 load_offset = elf_w (get_load_offset) (&mdi, segbase, mapoff);
353 unsigned long segbase, mapoff; local
357 ret = tdep_get_elf_image(as, &ei, pid, ip, &segbase, &mapoff, NULL);
361 return elf_w (get_proc_name_in_image) (as, &ei, segbase, mapoff, ip, buf, buf_len, offp);
308 get_proc_name_in_image(unw_addr_space_t as, struct elf_image *ei, unsigned long segbase, unsigned long mapoff, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp) argument
/external/libunwind/src/coredump/
H A D_UCD_find_proc_info.c32 unsigned long segbase, mapoff; local
61 /* segbase: where it is mapped in virtual memory */
63 segbase = phdr->p_vaddr;
71 if (tdep_find_unwind_table(&ui->edi, as, phdr->backing_filename, segbase, mapoff, ip) < 0)
H A D_UCD_get_proc_name.c36 unsigned long segbase, mapoff; local
46 /* segbase: where it is mapped in virtual memory */
48 segbase = cphdr->p_vaddr;
52 ret = elf_w (get_proc_name_in_image) (as, &ui->edi.ei, segbase, mapoff, ip, buf, buf_len, offp);
/external/libunwind/src/ptrace/
H A D_UPT_find_proc_info.c39 unsigned long segbase, mapoff; local
66 if (tdep_get_elf_image (as, &ei, pid, ip, &segbase, &mapoff, &path) < 0)
69 ret = tdep_find_unwind_table (edi, &ei, as, path, segbase, mapoff, ip);
/external/libunwind/src/dwarf/
H A DGfind_unwind_table.c40 unw_word_t segbase, unw_word_t mapoff, unw_word_t ip)
111 load_base = segbase - ptxt->p_vaddr;
220 edi->di_cache.u.rti.segbase = ((load_base + peh_hdr->p_vaddr)
38 dwarf_find_unwind_table(struct elf_dyn_info *edi, struct elf_image *ei, unw_addr_space_t as, char *path, unw_word_t segbase, unw_word_t mapoff, unw_word_t ip) argument
H A DGfind_proc_info-lsb.c365 unw_word_t segbase, const char* obj_name,
498 di->u.ti.segbase = segbase;
501 Debug (15, "found debug_frame table `%s': segbase=0x%lx, len=%lu, "
504 (long) di->u.ti.segbase, (long) di->u.ti.table_len,
672 di->u.rti.segbase = (unw_word_t) (uintptr_t) hdr;
675 Debug (15, "found table `%s': segbase=0x%lx, len=%lu, gp=0x%lx, "
677 (long) di->u.rti.segbase, (long) di->u.rti.table_len,
828 unw_word_t segbase = 0, fde_addr; local
872 segbase
364 dwarf_find_debug_frame(int found, unw_dyn_info_t *di_debug, unw_word_t ip, unw_word_t segbase, const char* obj_name, unw_word_t start, unw_word_t end) argument
[all...]
/external/libunwind/src/ia64/
H A DGfind_unwind_table.c96 char *path, unw_word_t segbase, unw_word_t mapoff,
133 edi->di_cache.start_ip = segbase;
135 edi->di_cache.gp = find_gp (edi, pdyn, segbase - ptxt->p_vaddr);
138 edi->di_cache.u.ti.segbase = segbase;
95 ia64_find_unwind_table(struct elf_dyn_info *edi, unw_addr_space_t as, char *path, unw_word_t segbase, unw_word_t mapoff, unw_word_t ip) argument
H A DGtables.c143 unw_word_t start_offset, end_offset, info_offset, segbase; local
158 segbase = di->u.ti.segbase;
172 segbase = di->u.rti.segbase;
193 hdr_addr = info_offset + segbase;
257 unw_word_t handler_offset, segbase = 0; local
273 segbase = di->u.ti.segbase;
276 ip - segbase);
477 Elf64_Addr load_base, segbase = 0; local
[all...]
/external/libunwind/include/
H A Dlibunwind-dynamic.h115 unw_word_t segbase; /* segment base */ member in struct:unw_dyn_table_info
124 unw_word_t segbase; /* segment base */ member in struct:unw_dyn_remote_table_info
/external/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cc363 void **segbase = 0; local
365 // sysarch(I386_GET_GSBASE, segbase);
366 __asm __volatile("mov %%gs:0, %0" : "=r" (segbase));
368 // sysarch(AMD64_GET_FSBASE, segbase);
369 __asm __volatile("movq %%fs:0, %0" : "=r" (segbase));
373 return segbase;
393 void** segbase = ThreadSelfSegbase();
396 if (segbase != 0) {
399 // dtv = segbase[1];
400 // dtv[2] = segbase
[all...]
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/
H A Dunwind.c226 u64 offset, u64 *table_data, u64 *segbase,
243 *segbase = offset;
249 u64 *table_data, u64 *segbase, u64 *fde_count)
263 table_data, segbase,
286 u64 table_data, segbase, fde_count; local
295 &table_data, &segbase, &fde_count))
302 di.u.rti.segbase = map->start + segbase;
225 unwind_spec_ehframe(struct dso *dso, struct machine *machine, u64 offset, u64 *table_data, u64 *segbase, u64 *fde_count) argument
248 read_unwind_spec(struct dso *dso, struct machine *machine, u64 *table_data, u64 *segbase, u64 *fde_count) argument

Completed in 194 milliseconds