Home
last modified time | relevance | path

Searched refs:INTUSE (Results 1 – 25 of 108) sorted by relevance

12345

/third_party/elfutils/libdw/
Ddwarf_aggregate_size.c40 Dwarf_Die *type = INTUSE(dwarf_formref_die) in get_type()
41 (INTUSE(dwarf_attr_integrate) (die, DW_AT_type, attr_mem), type_mem); in get_type()
43 if (type == NULL || INTUSE(dwarf_peel_type) (type, type) != 0) in get_type()
66 if (INTUSE(dwarf_child) (die, &child) != 0) in array_size()
74 switch (INTUSE(dwarf_tag) (&child)) in array_size()
78 if (INTUSE(dwarf_attr_integrate) (&child, DW_AT_count, in array_size()
81 if (INTUSE(dwarf_formudata) (attr_mem, &count) != 0) in array_size()
87 if (INTUSE(dwarf_attr) (get_type (&child, attr_mem, &type_mem), in array_size()
91 if (INTUSE(dwarf_formudata) (attr_mem, &encoding) == 0) in array_size()
100 if (INTUSE(dwarf_formsdata) (INTUSE(dwarf_attr_integrate) in array_size()
[all …]
Dlibdw_visit_scopes.c40 switch (INTUSE(dwarf_tag) (die)) in may_have_scopes()
105 if ((ret = INTUSE(dwarf_child) (&root->die, &state.child.die)) != 0) in __libdw_visit_scopes()
121 while (INTUSE(dwarf_tag) (&state->child.die) == DW_TAG_imported_unit) in walk_children()
125 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&state->child.die, in walk_children()
130 if (INTUSE(dwarf_formref_die) (attr, &state->child.die) != NULL in walk_children()
131 && INTUSE(dwarf_tag) (&state->child.die) != DW_TAG_compile_unit in walk_children()
132 && (INTUSE(dwarf_child) (&state->child.die, &state->child.die) in walk_children()
161 if ((ret = INTUSE(dwarf_siblingof) (&orig_child_die, in walk_children()
174 && INTUSE(dwarf_haschildren) (&state->child.die)) in walk_children()
189 while ((ret = INTUSE(dwarf_siblingof) (&state->child.die, &state->child.die)) == 0); in walk_children()
Ddwarf_getscopevar.c43 return INTUSE(dwarf_getsrcfiles) (&CUDIE (die->cu), files, NULL); in getfiles()
51 return INTUSE(dwarf_formudata) (INTUSE(dwarf_attr) (die, search_name, in getattr()
98 if (INTUSE(dwarf_haschildren) (&scopes[out])) in dwarf_getscopevar()
100 if (INTUSE(dwarf_child) (&scopes[out], result) != 0) in dwarf_getscopevar()
104 switch (INTUSE(dwarf_tag) (result)) in dwarf_getscopevar()
115 const char *diename = INTUSE(dwarf_diename) (result); in dwarf_getscopevar()
155 while (INTUSE(dwarf_siblingof) (result, result) == 0); in dwarf_getscopevar()
Ddwarf_highpc.c44 attr_high = INTUSE(dwarf_attr_integrate) (die, DW_AT_high_pc, in dwarf_highpc()
47 attr_high = INTUSE(dwarf_attr) (die, DW_AT_high_pc, &attr_high_mem); in dwarf_highpc()
52 if (INTUSE(dwarf_formaddr) (attr_high, return_addr) == 0) in dwarf_highpc()
56 if (INTUSE(dwarf_lowpc) (die, return_addr) == 0) in dwarf_highpc()
59 if (INTUSE(dwarf_formudata) (attr_high, &uval) == 0) in dwarf_highpc()
Ddwarf_hasattr_integrate.c43 if (INTUSE(dwarf_hasattr) (die, search_name)) in dwarf_hasattr_integrate()
47 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, in dwarf_hasattr_integrate()
50 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, &attr_mem); in dwarf_hasattr_integrate()
54 die = INTUSE(dwarf_formref_die) (attr, &die_mem); in dwarf_hasattr_integrate()
68 return INTUSE(dwarf_hasattr) (&skel_die, search_name); in dwarf_hasattr_integrate()
Ddwarf_attr_integrate.c44 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, search_name, result); in dwarf_attr_integrate()
48 attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, result); in dwarf_attr_integrate()
50 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, result); in dwarf_attr_integrate()
54 die = INTUSE(dwarf_formref_die) (attr, &die_mem); in dwarf_attr_integrate()
68 return INTUSE(dwarf_attr) (&skel_die, search_name, result); in dwarf_attr_integrate()
Ddwarf_func_inline.c49 if (INTUSE(dwarf_tag) (&die->die) != DW_TAG_inlined_subroutine) in scope_visitor()
53 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&die->die, DW_AT_abstract_origin, in scope_visitor()
59 Dwarf_Die *origin = INTUSE(dwarf_formref_die) (attr, &origin_mem); in scope_visitor()
74 if (INTUSE(dwarf_formudata) (INTUSE(dwarf_attr) (func, DW_AT_inline, in dwarf_func_inline()
Ddwarf_addrdie.c44 if (INTUSE(dwarf_getaranges) (dbg, &aranges, &naranges) != 0 in dwarf_addrdie()
45 || INTUSE(dwarf_getarangeinfo) (INTUSE(dwarf_getarange_addr) (aranges, in dwarf_addrdie()
50 return INTUSE(dwarf_offdie) (dbg, off, result); in dwarf_addrdie()
Ddwarf_getscopes.c61 int result = INTUSE(dwarf_haspc) (&die->die, a->pc); in pc_match()
64 int error = INTUSE(dwarf_errno) (); in pc_match()
78 && INTUSE (dwarf_tag) (&die->die) == DW_TAG_inlined_subroutine) in pc_match()
156 assert (INTUSE (dwarf_tag) (inlinedie) == DW_TAG_inlined_subroutine); in pc_record()
158 Dwarf_Attribute *attr = INTUSE (dwarf_attr) (inlinedie, in pc_record()
161 if (INTUSE (dwarf_formref_die) (attr, &a->inlined_origin) == NULL) in pc_record()
Ddwarf_peel_type.c48 tag = INTUSE (dwarf_tag) (result); in dwarf_peel_type()
64 Dwarf_Attribute *attr = INTUSE (dwarf_attr_integrate) (result, DW_AT_type, in dwarf_peel_type()
69 if (INTUSE (dwarf_formref_die) (attr, result) == NULL) in dwarf_peel_type()
72 tag = INTUSE (dwarf_tag) (result); in dwarf_peel_type()
Ddwarf_getlocation_attr.c130 if (INTUSE(dwarf_getlocation_die) (attr, op, &die) != 0) in dwarf_getlocation_attr()
132 if (INTUSE(dwarf_attr) (&die, DW_AT_location, result) == NULL) in dwarf_getlocation_attr()
145 if (INTUSE(dwarf_getlocation_die) (attr, op, &die) != 0) in dwarf_getlocation_attr()
147 if (INTUSE(dwarf_attr) (&die, DW_AT_location, result) == NULL in dwarf_getlocation_attr()
148 && INTUSE(dwarf_attr) (&die, DW_AT_const_value, result) == NULL) in dwarf_getlocation_attr()
Ddwarf_getfuncs.c68 int tag = INTUSE(dwarf_tag) (die); in tree_visitor()
88 || INTUSE(dwarf_hasattr) (die, DW_AT_declaration)) in tree_visitor()
100 || INTUSE(dwarf_tag) (cudie) != DW_TAG_compile_unit)) in dwarf_getfuncs()
103 int lang = INTUSE(dwarf_srclang) (cudie); in dwarf_getfuncs()
Ddwarf_entry_breakpoints.c59 return INTUSE(dwarf_entrypc) (die, &pc) < 0 ? -1 : add_bkpt (pc, bkpts, pnbkpts); in entrypc_bkpt()
114 if (INTUSE(dwarf_getsrclines) (&cudie, &lines, &nlines) < 0) in dwarf_entry_breakpoints()
116 int error = INTUSE (dwarf_errno) (); in dwarf_entry_breakpoints()
128 ptrdiff_t offset = INTUSE(dwarf_ranges) (die, 0, &base, &begin, &end); in dwarf_entry_breakpoints()
152 offset = INTUSE(dwarf_ranges) (die, offset, &base, &begin, &end); in dwarf_entry_breakpoints()
Ddwarf_entrypc.c42 return INTUSE(dwarf_formaddr) (INTUSE(dwarf_attr) (die, DW_AT_entry_pc, in dwarf_entrypc()
44 ?: INTUSE(dwarf_attr) (die, DW_AT_low_pc, in dwarf_entrypc()
Ddwarf_lowpc.c43 attr = INTUSE(dwarf_attr_integrate) (die, DW_AT_low_pc, &attr_mem); in dwarf_lowpc()
45 attr = INTUSE(dwarf_attr) (die, DW_AT_low_pc, &attr_mem); in dwarf_lowpc()
46 return INTUSE(dwarf_formaddr) (attr, return_addr); in dwarf_lowpc()
Ddwarf_decl_file.c46 if (INTUSE(dwarf_formudata) (INTUSE(dwarf_attr_integrate) in dwarf_decl_file()
67 (void) INTUSE(dwarf_getsrclines) (&CUDIE (cu), &lines, &nlines); in dwarf_decl_file()
Ddwarf_getsrc_file.c59 INTUSE(dwarf_nextcu) (dbg, off, &noff, &cuhl, NULL, NULL, NULL) == 0; in dwarf_getsrc_file()
63 Dwarf_Die *cudie = INTUSE(dwarf_offdie) (dbg, off + cuhl, &cudie_mem); in dwarf_getsrc_file()
70 if (INTUSE(dwarf_getsrclines) (cudie, &lines, &nlines) != 0) in dwarf_getsrc_file()
73 int error = INTUSE(dwarf_errno) (); in dwarf_getsrc_file()
Dlibdw_findcu.c183 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()
190 if (INTUSE(dwarf_formudata) (&dwo_id, &id8) == 0) 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()
/third_party/elfutils/libdwfl/
Dargp-std.c66 .find_debuginfo = INTUSE(dwfl_standard_find_debuginfo),
69 .section_address = INTUSE(dwfl_offline_section_address),
72 .find_elf = INTUSE(dwfl_build_id_find_elf),
77 .find_debuginfo = INTUSE(dwfl_standard_find_debuginfo),
80 .find_elf = INTUSE(dwfl_linux_proc_find_elf),
85 .find_debuginfo = INTUSE(dwfl_standard_find_debuginfo),
88 .find_elf = INTUSE(dwfl_linux_kernel_find_elf),
89 .section_address = INTUSE(dwfl_linux_kernel_module_section_address),
109 msg, INTUSE(dwfl_errmsg) (-1)); in failure()
146 dwfl = INTUSE(dwfl_begin) (&offline_callbacks); in parse_opt()
[all …]
Dframe_unwind.c203 if (INTUSE (dwfl_frame_reg) (state, op->atom - DW_OP_reg0, &val1) != 0 in expr_eval()
211 if (INTUSE (dwfl_frame_reg) (state, op->number, &val1) != 0 || ! push (val1)) in expr_eval()
218 if (INTUSE (dwfl_frame_reg) (state, op->atom - DW_OP_breg0, &val1) != 0) in expr_eval()
231 if (INTUSE (dwfl_frame_reg) (state, op->number, &val1) != 0) in expr_eval()
531 if (INTUSE(dwarf_cfi_addrframe) (cfi, pc, &frame) != 0) in handle_cfi()
583 if (INTUSE (dwfl_frame_reg) (state, regno, &regval) != 0) in handle_cfi()
630 int res = INTUSE (dwfl_frame_reg) (unwound, in handle_cfi()
691 if (INTUSE (dwfl_frame_reg) (state, firstreg++, regs++) != 0) in getfunc()
715 bool ok = INTUSE(dwfl_frame_pc) (state, &pc, NULL); in __libdwfl_frame_unwind()
722 Dwfl_Module *mod = INTUSE(dwfl_addrmodule) (state->thread->process->dwfl, pc); in __libdwfl_frame_unwind()
[all …]
Ddwfl_validate_address.c38 Dwfl_Module *mod = INTUSE(dwfl_addrmodule) (dwfl, address); in dwfl_validate_address()
43 int idx = INTUSE(dwfl_module_relocate_address) (mod, &relative); in dwfl_validate_address()
53 offset_idx = INTUSE(dwfl_module_relocate_address) (mod, &relative); in dwfl_validate_address()
Ddwfl_module_dwarf_cfi.c48 INTUSE(dwarf_cfi_end) (cfi); in __libdwfl_set_cfi()
70 INTUSE(dwarf_getcfi) in dwfl_module_dwarf_cfi()
71 (INTUSE(dwfl_module_getdwarf) (mod, bias))); in dwfl_module_dwarf_cfi()
Ddwfl_build_id_find_debuginfo.c54 ssize_t build_id_len = INTUSE(dwelf_dwarf_gnu_debugaltlink) (mod->dw, in dwfl_build_id_find_debuginfo()
73 ssize_t alt_len = INTUSE(dwelf_elf_gnu_build_id) (mod->alt_elf, in dwfl_build_id_find_debuginfo()
99 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0) in dwfl_build_id_find_debuginfo()
/third_party/elfutils/libelf/
Dnlist.c49 #define HASHFCT(str, len) INTUSE(elf_hash) (str)
83 INTUSE(elf_version) (EV_CURRENT); in nlist()
86 elf = INTUSE(elf_begin) (fd, ELF_C_READ_MMAP, NULL); in nlist()
92 while ((scn = INTUSE(elf_nextscn) (elf, scn)) != NULL) in nlist()
94 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); in nlist()
118 shdr = INTUSE(gelf_getshdr) (symscn, &shdr_mem); in nlist()
125 data = INTUSE(elf_getdata) (symscn, NULL); in nlist()
131 / INTUSE(gelf_fsize) (elf, ELF_T_SYM, 1, EV_CURRENT)); in nlist()
148 sym = INTUSE(gelf_getsym) (data, cnt, &mem.sym); in nlist()
153 mem.str = INTUSE(elf_strptr) (elf, shdr->sh_link, sym->st_name); in nlist()
[all …]
Delf32_checksum.c65 if (INTUSE(elf_getshdrstrndx) (elf, &shstrndx) < 0) in elfw2()
90 while ((scn = INTUSE(elf_nextscn) (elf, scn)) != NULL) in elfw2()
97 shdr = INTUSE(gelf_getshdr) (scn, &shdr_mem); in elfw2()
106 INTUSE(elf_strptr) (elf, shstrndx, shdr->sh_name), in elfw2()
122 data = INTUSE(elf_rawdata) (scn, NULL); in elfw2()
134 while ((data = INTUSE(elf_getdata) (scn, data)) != NULL) in elfw2()
144 if (INTUSE(elfw2(LIBELFBITS,xlatetof)) (data, data, ident[EI_DATA]) in elfw2()
154 if (INTUSE(elfw2(LIBELFBITS,xlatetom)) (data, data, ident[EI_DATA]) in elfw2()

12345