/external/elfutils/libdw/ |
D | dwarf_getmacros.c | 119 get_macinfo_table (Dwarf *dbg, Dwarf_Word macoff, Dwarf_Die *cudie) in get_macinfo_table() argument 121 assert (cudie != NULL); in get_macinfo_table() 124 = INTUSE(dwarf_attr) (cudie, DW_AT_stmt_list, &attr_mem); in get_macinfo_table() 137 table->is_64bit = cudie->cu->address_size == 8; in get_macinfo_table() 138 table->comp_dir = __libdw_getcompdir (cudie); in get_macinfo_table() 147 Dwarf_Die *cudie) in get_table_for_offset() argument 176 else if (cudie != NULL) in get_table_for_offset() 179 = INTUSE(dwarf_attr) (cudie, DW_AT_stmt_list, &attr_mem); in get_table_for_offset() 264 .comp_dir = __libdw_getcompdir (cudie), in get_table_for_offset() 275 Dwarf_Die *cudie) in cache_op_table() argument [all …]
|
D | dwarf_getsrcfiles.c | 39 dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, size_t *nfiles) in dwarf_getsrcfiles() argument 41 if (cudie == NULL) in dwarf_getsrcfiles() 43 if (! is_cudie (cudie)) in dwarf_getsrcfiles() 52 struct Dwarf_CU *const cu = cudie->cu; in dwarf_getsrcfiles() 70 __libdw_getcompdir (cudie), in dwarf_getsrcfiles() 92 res = INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines); in dwarf_getsrcfiles()
|
D | dwarf_next_lines.c | 93 Dwarf_Die cudie; in dwarf_next_lines() local 103 &cudie, NULL) == 0) in dwarf_next_lines() 105 if (dwarf_hasattr (&cudie, DW_AT_stmt_list)) in dwarf_next_lines() 109 if (dwarf_formudata (dwarf_attr (&cudie, DW_AT_stmt_list, &attr), in dwarf_next_lines() 135 &cudie, NULL) == 0 in dwarf_next_lines() 140 if (dwarf_formudata (dwarf_attr (&cudie, DW_AT_stmt_list, &attr), in dwarf_next_lines() 162 comp_dir = __libdw_getcompdir (&cudie); in dwarf_next_lines()
|
D | dwarf_getfuncs.c | 96 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()
|
D | dwarf_get_units.c | 41 Dwarf_Die *cudie, Dwarf_Die *subdie) in dwarf_get_units() argument 95 if (cudie != NULL) in dwarf_get_units() 100 *cudie = CUDIE (next); in dwarf_get_units() 102 memset (cudie, '\0', sizeof (Dwarf_Die)); in dwarf_get_units()
|
D | libdw_find_split_unit.c | 102 Dwarf_Die cudie = CUDIE (cu); in __libdw_find_split_unit() local 106 if (dwarf_attr (&cudie, DW_AT_dwo_name, &dwo_name) != NULL in __libdw_find_split_unit() 107 || dwarf_attr (&cudie, DW_AT_GNU_dwo_name, &dwo_name) != NULL) in __libdw_find_split_unit() 124 dwarf_attr (&cudie, DW_AT_comp_dir, &compdir); in __libdw_find_split_unit()
|
D | dwarf_cu_info.c | 41 Dwarf_Die *cudie, Dwarf_Die *subdie, in dwarf_cu_info() argument 54 if (cudie != NULL) in dwarf_cu_info() 59 *cudie = CUDIE (cu); in dwarf_cu_info()
|
D | libdw_findcu.c | 182 Dwarf_Die cudie = CUDIE (newp); in __libdw_intern_next_unit() local 183 int tag = INTUSE(dwarf_tag) (&cudie); in __libdw_intern_next_unit() 187 if (INTUSE(dwarf_attr) (&cudie, DW_AT_GNU_dwo_id, &dwo_id) != NULL) in __libdw_intern_next_unit() 192 if (INTUSE(dwarf_haschildren) (&cudie) == 0 in __libdw_intern_next_unit() 193 && INTUSE(dwarf_hasattr) (&cudie, in __libdw_intern_next_unit()
|
D | dwarf_getsrc_file.c | 63 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()
|
D | dwarf_getsrc_die.c | 39 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()
|
D | libdw.h | 301 Dwarf_Die *cudie, Dwarf_Die *subdie) 312 Dwarf_Die *cudie, Dwarf_Die *subdie, 634 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, 641 extern int dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, 647 extern Dwarf_Line *dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr); 834 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc, 891 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie, 950 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
|
D | dwarf_getscopes.c | 186 dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc, Dwarf_Die **scopes) in dwarf_getscopes() argument 188 if (cudie == NULL) in dwarf_getscopes() 191 struct Dwarf_Die_Chain cu = { .parent = NULL, .die = *cudie }; in dwarf_getscopes()
|
/external/elfutils/tests/ |
D | unit-info.c | 61 Dwarf_Die cudie, subdie; in main() local 67 &unit_type, &cudie, &subdie) == 0) in main() 69 int dietag = dwarf_tag (&cudie); in main() 84 &version, &unit_type, &cudie, &subdie, in main() 91 dietag = dwarf_tag (&cudie); in main() 125 &version, &unit_type, &cudie, &subdie, in main() 133 dietag = dwarf_tag (&cudie); in main() 201 &version, &unit_type, &cudie, &subdie, in main() 208 int dietag = dwarf_tag (&cudie); in main() 260 &version, &unit_type, &cudie, &subdie, in main() [all …]
|
D | run-get-units-split.sh | 46 Got cudie unit_type: 4 48 Got cudie unit_type: 4 55 Got cudie unit_type: 4 57 Got cudie unit_type: 4
|
D | getsrc_die.c | 45 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()
|
D | get-units-split.c | 47 Dwarf_Die cudie, subdie; in main() local 51 &unit_type, &cudie, &subdie) == 0) in main() 58 Dwarf_CU *skel_cu = cudie.cu; in main()
|
D | all-dwarf-ranges.c | 78 Dwarf_Die cudie, subdie; in main() local 81 &unit_type, &cudie, &subdie) == 0) in main() 84 ? subdie : cudie); in main()
|
D | get-units-invalid.c | 47 Dwarf_Die cudie, subdie; in main() local 50 &unit_type, &cudie, &subdie) == 0) in main() 53 dwarf_diename (&cudie), unit_type); in main()
|
D | dwarf-ranges.c | 40 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()
|
D | addrscopes.c | 98 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()
|
/external/elfutils/libdwfl/ |
D | dwfl_onesrcline.c | 36 dwfl_onesrcline (Dwarf_Die *cudie, size_t idx) in dwfl_onesrcline() argument 38 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_onesrcline() 40 if (cudie == NULL) in dwfl_onesrcline()
|
D | dwfl_cumodule.c | 36 dwfl_cumodule (Dwarf_Die *cudie) in dwfl_cumodule() argument 38 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_cumodule()
|
D | dwfl_getsrclines.c | 36 dwfl_getsrclines (Dwarf_Die *cudie, size_t *nlines) in dwfl_getsrclines() argument 38 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_getsrclines()
|
/external/elfutils/include/elfutils/ |
D | libdw.h | 301 Dwarf_Die *cudie, Dwarf_Die *subdie) 312 Dwarf_Die *cudie, Dwarf_Die *subdie, 634 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines, 641 extern int dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files, 647 extern Dwarf_Line *dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr); 834 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc, 891 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie, 950 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
|
/external/elfutils/src/ |
D | stack.c | 222 const char *symname, Dwarf_Die *cudie, in print_frame() argument 282 if (dwarf_getsrcfiles (cudie, &files, NULL) == 0) in print_frame() 325 const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) in print_inline_frames() argument 351 cudie, last_scope); in print_inline_frames() 383 Dwarf_Die *cudie = NULL; in print_frames() local 390 cudie = dwfl_module_addrdie (mod, pc_adjusted, &bias); in print_frames() 391 int nscopes = dwarf_getscopes (cudie, pc_adjusted - bias, in print_frames() 419 symname, cudie, die); in print_frames()
|