Home
last modified time | relevance | path

Searched refs:cudie (Results 1 - 25 of 40) sorted by relevance

12

/third_party/elfutils/libdw/
H A 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()
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()
144 get_table_for_offset(Dwarf *dbg, Dwarf_Word macoff, const unsigned char *readp, const unsigned char *const endp, Dwarf_Die *cudie) get_table_for_offset() argument
272 cache_op_table(Dwarf *dbg, int sec_index, Dwarf_Off macoff, const unsigned char *startp, const unsigned char *const endp, Dwarf_Die *cudie) cache_op_table() argument
302 read_macros(Dwarf *dbg, int sec_index, Dwarf_Off macoff, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t offset, bool accept_0xff, Dwarf_Die *cudie) read_macros() argument
487 gnu_macros_getmacros_off(Dwarf *dbg, Dwarf_Off macoff, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t offset, bool accept_0xff, Dwarf_Die *cudie) gnu_macros_getmacros_off() argument
505 macro_info_getmacros_off(Dwarf *dbg, Dwarf_Off macoff, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t offset, Dwarf_Die *cudie) macro_info_getmacros_off() argument
537 dwarf_getmacros(Dwarf_Die *cudie, int (*callback) (Dwarf_Macro *, void *), void *arg, ptrdiff_t token) dwarf_getmacros() argument
[all...]
H A 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()
H A 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()
H A 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()
H A Dlibdw_find_split_unit.c101 Dwarf_Die cudie = CUDIE (cu); in __libdw_find_split_unit() local
105 if (dwarf_attr (&cudie, DW_AT_dwo_name, &dwo_name) != NULL in __libdw_find_split_unit()
106 || dwarf_attr (&cudie, DW_AT_GNU_dwo_name, &dwo_name) != NULL) in __libdw_find_split_unit()
123 dwarf_attr (&cudie, DW_AT_comp_dir, &compdir); in __libdw_find_split_unit()
H A Ddwarf_get_units.c41 Dwarf_Die *cudie, Dwarf_Die *subdie) in dwarf_get_units()
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()
39 dwarf_get_units(Dwarf *dwarf, Dwarf_CU *cu, Dwarf_CU **next_cu, Dwarf_Half *version, uint8_t *unit_type, Dwarf_Die *cudie, Dwarf_Die *subdie) dwarf_get_units() argument
H A Ddwarf_cu_info.c41 Dwarf_Die *cudie, Dwarf_Die *subdie, in dwarf_cu_info()
54 if (cudie != NULL) in dwarf_cu_info()
59 *cudie = CUDIE (cu); in dwarf_cu_info()
39 dwarf_cu_info(Dwarf_CU *cu, Dwarf_Half *version, uint8_t *unit_type, Dwarf_Die *cudie, Dwarf_Die *subdie, uint64_t *unit_id, uint8_t *address_size, uint8_t *offset_size) dwarf_cu_info() argument
H A Dlibdw.h301 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);
843 extern int dwarf_getscopes (Dwarf_Die *cudie, Dwarf_Addr pc,
900 extern ptrdiff_t dwarf_getfuncs (Dwarf_Die *cudie,
910 dwarf_formstring (dwarf_attr (dwarf_diecu (decl, &cudie, NULL, NULL),
959 extern ptrdiff_t dwarf_getmacros (Dwarf_Die *cudie,
H A 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()
H A 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()
H A 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()
H A 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()
/third_party/elfutils/tests/
H A 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()
140 /* subdie is now cudie. */ in main()
201 &version, &unit_type, &cudie, &subdie, in main()
208 int dietag = dwarf_tag (&cudie); in main()
[all...]
H A 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()
H A Dget-units-invalid.c1 /* Test cudie and subdie properties.
47 Dwarf_Die cudie, subdie; in main() local
50 &unit_type, &cudie, &subdie) == 0) in main()
52 printf ("Got cudie: %s, unit_type: %" PRIx8 "\n", in main()
53 dwarf_diename (&cudie), unit_type); in main()
H A Dget-units-split.c47 Dwarf_Die cudie, subdie; in main() local
51 &unit_type, &cudie, &subdie) == 0) in main()
54 printf ("Got cudie unit_type: %" PRIx8 "\n", unit_type); in main()
58 Dwarf_CU *skel_cu = cudie.cu; in main()
H A Dall-dwarf-ranges.c78 Dwarf_Die cudie, subdie; in main() local
81 &unit_type, &cudie, &subdie) == 0) in main()
84 ? subdie : cudie); in main()
H A 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()
H A 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()
H A Dvarlocs.c1086 Dwarf_Die cudie; in main() local
1089 if (dwarf_cu_info (cu->cu, NULL, &unit_type, &cudie, &subdie, in main()
1093 cudie = subdie; in main()
1096 if (dwarf_tag (&cudie) == DW_TAG_compile_unit in main()
1097 && (exprlocs || dwarf_lowpc (&cudie, &cubase) == 0)) in main()
1119 print_die (&cudie, "CU", 0); in main()
1140 if (dwarf_entrypc (&cudie, &entrypc) != 0) in main()
1148 handle_die (&cudie, 0, true /* Should be false */, entrypc); in main()
1150 else if (dwarf_getfuncs (&cudie, handle_function, NULL, 0) != 0) in main()
H A Dattr-integrate-skel.c47 Dwarf_Die cudie, subdie; in main() local
52 &unit_type, &cudie, &subdie) == 0) in main()
/third_party/elfutils/libdwfl/
H A 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()
H A Ddwfl_cumodule.c36 dwfl_cumodule (Dwarf_Die *cudie) in dwfl_cumodule() argument
38 struct dwfl_cu *cu = (struct dwfl_cu *) cudie; in dwfl_cumodule()
H A 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()
/third_party/elfutils/src/
H A Dstack.c222 const char *symname, Dwarf_Die *cudie, in print_frame()
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()
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()
220 print_frame(int nr, Dwarf_Addr pc, bool isactivation, Dwarf_Addr pc_adjusted, Dwfl_Module *mod, const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) print_frame() argument
323 print_inline_frames(int *nr, Dwarf_Addr pc, bool isactivation, Dwarf_Addr pc_adjusted, Dwfl_Module *mod, const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) print_inline_frames() argument

Completed in 11 milliseconds

12