Home
last modified time | relevance | path

Searched refs:cudie (Results 1 – 25 of 32) sorted by relevance

12

/external/elfutils/libdw/
Ddwarf_getmacros.c120 get_macinfo_table (Dwarf *dbg, Dwarf_Word macoff, Dwarf_Die *cudie) in get_macinfo_table() argument
122 assert (cudie != NULL); in get_macinfo_table()
125 = INTUSE(dwarf_attr) (cudie, DW_AT_stmt_list, &attr_mem); in get_macinfo_table()
138 table->is_64bit = cudie->cu->address_size == 8; in get_macinfo_table()
139 table->comp_dir = __libdw_getcompdir (cudie); in get_macinfo_table()
148 Dwarf_Die *cudie) in get_table_for_offset() argument
177 else if (cudie != NULL) in get_table_for_offset()
180 = INTUSE(dwarf_attr) (cudie, DW_AT_stmt_list, &attr_mem); in get_table_for_offset()
260 .comp_dir = __libdw_getcompdir (cudie), in get_table_for_offset()
271 Dwarf_Die *cudie) in cache_op_table() argument
[all …]
Ddwarf_getsrcfiles.c40 dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, size_t *nfiles) in dwarf_getsrcfiles() argument
42 if (cudie == NULL) in dwarf_getsrcfiles()
44 if (! is_cudie (cudie)) in dwarf_getsrcfiles()
53 struct Dwarf_CU *const cu = cudie->cu; in dwarf_getsrcfiles()
61 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines); in dwarf_getsrcfiles()
Ddwarf_getfuncs.c96 dwarf_getfuncs (Dwarf_Die *cudie, int (*callback) (Dwarf_Die *, void *), in dwarf_getfuncs() argument
99 if (unlikely (cudie == NULL in dwarf_getfuncs()
100 || INTUSE(dwarf_tag) (cudie) != DW_TAG_compile_unit)) in dwarf_getfuncs()
103 int lang = INTUSE(dwarf_srclang) (cudie); in dwarf_getfuncs()
110 struct Dwarf_Die_Chain chain = { .die = CUDIE (cudie->cu), in dwarf_getfuncs()
Ddwarf_ranges.c133 Dwarf_Die cudie = CUDIE (attr->cu); in dwarf_ranges() local
140 if (unlikely (INTUSE(dwarf_lowpc) (&cudie, basep) != 0) in dwarf_ranges()
141 && INTUSE(dwarf_formaddr) (INTUSE(dwarf_attr) (&cudie, in dwarf_ranges()
Ddwarf_getsrc_file.c63 Dwarf_Die *cudie = INTUSE(dwarf_offdie) (dbg, off + cuhl, &cudie_mem); in dwarf_getsrc_file() local
64 if (cudie == NULL) in dwarf_getsrc_file()
70 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) in dwarf_getsrc_file()
Ddwarf_getscopes.c184 dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc, Dwarf_Die **scopes) in dwarf_getscopes() argument
186 if (cudie == NULL) in dwarf_getscopes()
189 struct Dwarf_Die_Chain cu = { .parent = NULL, .die = *cudie }; in dwarf_getscopes()
Ddwarf_getsrc_die.c39 dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr) in dwarf_getsrc_die() argument
44 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) in dwarf_getsrc_die()
Ddwarf_getsrclines.c895 __libdw_getcompdir (Dwarf_Die *cudie) in __libdw_getcompdir() argument
898 Dwarf_Attribute *compdir_attr = INTUSE(dwarf_attr) (cudie, in __libdw_getcompdir()
905 dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, size_t *nlines) in dwarf_getsrclines() argument
907 if (cudie == NULL) in dwarf_getsrclines()
909 if (! is_cudie (cudie)) in dwarf_getsrclines()
916 struct Dwarf_CU *const cu = cudie->cu; in dwarf_getsrclines()
925 Dwarf_Attribute *stmt_list = INTUSE(dwarf_attr) (cudie, DW_AT_stmt_list, in dwarf_getsrclines()
936 __libdw_getcompdir (cudie), in dwarf_getsrclines()
Dlibdw.h592 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines,
599 extern int dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files,
605 extern Dwarf_Line *dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr);
759 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc,
816 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie,
868 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
Ddwarf_entry_breakpoints.c111 Dwarf_Die cudie = CUDIE (die->cu); in dwarf_entry_breakpoints() local
114 if (INTUSE(dwarf_getsrclines) (&cudie, &lines, &nlines) < 0) in dwarf_entry_breakpoints()
/external/elfutils/libdwfl/
Ddwfl_onesrcline.c32 dwfl_onesrcline (Dwarf_Die *cudie, size_t idx) in dwfl_onesrcline() argument
34 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_onesrcline()
36 if (cudie == NULL) in dwfl_onesrcline()
Ddwfl_cumodule.c32 dwfl_cumodule (Dwarf_Die *cudie) in dwfl_cumodule() argument
34 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_cumodule()
Ddwfl_getsrclines.c32 dwfl_getsrclines (Dwarf_Die *cudie, size_t *nlines) in dwfl_getsrclines() argument
34 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_getsrclines()
Dcu.c192 Dwarf_Die cudie; in intern_cu() local
193 Dwarf_Die *die = INTUSE(dwarf_offdie) (mod->dw, cuoff, &cudie); in intern_cu()
219 cu->die = cudie; in intern_cu()
/external/elfutils/tests/
Dgetsrc_die.c45 Dwarf_Die cudie; in main() local
53 if (dwarf_addrdie (dbg, addr, &cudie) == NULL) in main()
56 line = dwarf_getsrc_die (&cudie, addr); in main()
Ddwarf-ranges.c40 Dwarf_Die cudie_mem, *cudie = dwarf_offdie (dbg, cuoff, &cudie_mem); in main() local
44 (off = dwarf_ranges (cudie, off, &base, &start, &end)); ) in main()
Daddrscopes.c98 Dwarf_Die *cudie = dwfl_addrdie (dwfl, pc, &cubias); in handle_address() local
99 if (cudie == NULL) in handle_address()
103 int n = dwarf_getscopes (cudie, pc - cubias, &scopes); in handle_address()
Ddwarf-getmacros.c131 Dwarf_Die cudie_mem, *cudie = dwarf_offdie (dbg, cuoff, &cudie_mem); in main() local
134 (off = dwarf_getmacros (cudie, mac, dbg, off)); ) in main()
Ddwflmodtest.c36 Dwarf_Die *cudie; member
48 if (dwarf_getsrcfiles (info->cudie, &files, NULL) == 0) in print_instance()
196 (void) dwarf_getfuncs (info.cudie, print_func, &info, 0); in print_module()
/external/elfutils/src/
Dstack.c218 const char *symname, Dwarf_Die *cudie, in print_frame() argument
278 if (dwarf_getsrcfiles (cudie, &files, NULL) == 0) in print_frame()
321 const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) in print_inline_frames() argument
347 cudie, last_scope); in print_inline_frames()
379 Dwarf_Die *cudie = NULL; in print_frames() local
386 cudie = dwfl_module_addrdie (mod, pc_adjusted, &bias); in print_frames()
387 int nscopes = dwarf_getscopes (cudie, pc_adjusted - bias, in print_frames()
415 symname, cudie, die); in print_frames()
Daddr2line.c326 Dwarf_Die *cudie = dwfl_module_addrdie (mod, addr, &bias); in print_dwarf_function() local
329 int nscopes = dwarf_getscopes (cudie, addr - bias, &scopes); in print_dwarf_function()
365 if (dwarf_getsrcfiles (cudie, &files, NULL) == 0) in print_dwarf_function()
738 Dwarf_Die *cudie = dwfl_module_addrdie (mod, addr, &bias); in handle_address() local
741 int nscopes = dwarf_getscopes (cudie, addr - bias, &scopes); in handle_address()
760 && dwarf_getsrcfiles (cudie, &files, NULL) == 0) in handle_address()
Dnm.c645 Dwarf_Die *cudie = dwarf_offdie (dbg, old_offset + hsize, &cudie_mem); in get_local_names() local
649 if (cudie == NULL) in get_local_names()
652 if (dwarf_tag (cudie) != DW_TAG_compile_unit) in get_local_names()
658 if (dwarf_getsrcfiles (cudie, &files, &nfiles) != 0) in get_local_names()
663 if (dwarf_child (cudie, die) == 0) in get_local_names()
1380 Dwarf_Die *cudie = NULL; in show_symbols() local
1389 cudie = dwarf_offdie (dbg, (*found)->cu_offset, in show_symbols()
1391 if (cudie != NULL) in show_symbols()
1393 Dwarf_Line *line = dwarf_getsrc_die (cudie, in show_symbols()
/external/elfutils/include/elfutils/
Dlibdw.h592 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines,
599 extern int dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files,
605 extern Dwarf_Line *dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr);
759 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc,
816 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie,
868 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
/external/elfutils/backends/
Ds390_retval.c97 Dwarf_Die cudie; in s390_return_value_location() local
99 if (dwarf_diecu (typedie, &cudie, &asize, NULL) == NULL) in s390_return_value_location()
Dsparc_retval.c106 Dwarf_Die cudie; in sparc_return_value_location() local
108 && dwarf_diecu (typedie, &cudie, &asize, NULL) != NULL) in sparc_return_value_location()

12