Home
last modified time | relevance | path

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

12

/external/elfutils/libdw/
Ddwarf_getmacros.c119 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 …]
Ddwarf_getsrcfiles.c39 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()
Ddwarf_next_lines.c93 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()
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_get_units.c41 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()
Dlibdw_find_split_unit.c102 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()
Ddwarf_cu_info.c41 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()
Dlibdw_findcu.c182 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()
Dlibdw.h301 Dwarf_Die *cudie, Dwarf_Die *subdie)
312 Dwarf_Die *cudie, Dwarf_Die *subdie,
627 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines,
634 extern int dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files,
640 extern Dwarf_Line *dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr);
827 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc,
884 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie,
943 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
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_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_getscopes.c186 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/
Dunit-info.c61 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 …]
Drun-get-units-split.sh46 Got cudie unit_type: 4
48 Got cudie unit_type: 4
55 Got cudie unit_type: 4
57 Got cudie unit_type: 4
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()
Dget-units-split.c47 Dwarf_Die cudie, subdie; in main() local
51 &unit_type, &cudie, &subdie) == 0) in main()
58 Dwarf_CU *skel_cu = cudie.cu; in main()
Dall-dwarf-ranges.c78 Dwarf_Die cudie, subdie; in main() local
81 &unit_type, &cudie, &subdie) == 0) in main()
84 ? subdie : cudie); in main()
Dget-units-invalid.c47 Dwarf_Die cudie, subdie; in main() local
50 &unit_type, &cudie, &subdie) == 0) in main()
53 dwarf_diename (&cudie), unit_type); 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()
/external/elfutils/libdwfl/
Ddwfl_onesrcline.c36 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()
Ddwfl_cumodule.c36 dwfl_cumodule (Dwarf_Die *cudie) in dwfl_cumodule() argument
38 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_cumodule()
Ddwfl_getsrclines.c36 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/
Dlibdw.h301 Dwarf_Die *cudie, Dwarf_Die *subdie)
312 Dwarf_Die *cudie, Dwarf_Die *subdie,
627 extern int dwarf_getsrclines (Dwarf_Die *cudie, Dwarf_Lines **lines,
634 extern int dwarf_getsrcfiles (Dwarf_Die *cudie, Dwarf_Files **files,
640 extern Dwarf_Line *dwarf_getsrc_die (Dwarf_Die *cudie, Dwarf_Addr addr);
827 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc,
884 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie,
943 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
/external/elfutils/src/
Dstack.c217 const char *symname, Dwarf_Die *cudie, in print_frame() argument
277 if (dwarf_getsrcfiles (cudie, &files, NULL) == 0) in print_frame()
320 const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) in print_inline_frames() argument
346 cudie, last_scope); in print_inline_frames()
378 Dwarf_Die *cudie = NULL; in print_frames() local
385 cudie = dwfl_module_addrdie (mod, pc_adjusted, &bias); in print_frames()
386 int nscopes = dwarf_getscopes (cudie, pc_adjusted - bias, in print_frames()
414 symname, cudie, die); in print_frames()

12