/external/elfutils/0.153/libdw/ |
D | dwarf_getscopes.c | 70 pc_match (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in pc_match() argument 75 die->prune = true; in pc_match() 82 int result = INTUSE(dwarf_haspc) (&die->die, a->pc); in pc_match() 94 die->prune = true; in pc_match() 96 if (!die->prune in pc_match() 97 && INTUSE (dwarf_tag) (&die->die) == DW_TAG_inlined_subroutine) in pc_match() 107 origin_match (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in origin_match() argument 111 if (die->die.addr != a->inlined_origin.addr) in origin_match() 130 die = die->parent; in origin_match() 131 scopes[a->nscopes++] = die->die; in origin_match() [all …]
|
D | dwarf_child.c | 64 __libdw_find_attr (Dwarf_Die *die, unsigned int search_name, in __libdw_find_attr() argument 67 Dwarf *dbg = die->cu->dbg; in __libdw_find_attr() 68 const unsigned char *readp = (unsigned char *) die->addr; in __libdw_find_attr() 76 Dwarf_Abbrev *abbrevp = die->abbrev; in __libdw_find_attr() 79 abbrevp = __libdw_findabbrev (die->cu, abbrev_code); in __libdw_find_attr() 80 die->abbrev = abbrevp ?: DWARF_END_ABBREV; in __libdw_find_attr() 82 if (unlikely (die->abbrev == DWARF_END_ABBREV)) in __libdw_find_attr() 94 const unsigned char *attrp = die->abbrev->attrp; in __libdw_find_attr() 128 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp); in __libdw_find_attr() 152 dwarf_child (die, result) in dwarf_child() argument [all …]
|
D | dwarf_getscopes_die.c | 58 scope_visitor (unsigned int depth, struct Dwarf_Die_Chain *die, void *arg) in scope_visitor() argument 60 if (die->die.addr != *(void **) arg) in scope_visitor() 73 scopes[i++] = die->die; in scope_visitor() 74 die = die->parent; in scope_visitor() 76 while (die != NULL); in scope_visitor() 84 dwarf_getscopes_die (Dwarf_Die *die, Dwarf_Die **scopes) in dwarf_getscopes_die() argument 86 if (die == NULL) in dwarf_getscopes_die() 89 struct Dwarf_Die_Chain cu = { .die = CUDIE (die->cu), .parent = NULL }; in dwarf_getscopes_die() 90 void *info = die->addr; in dwarf_getscopes_die()
|
D | dwarf_getattrs.c | 59 dwarf_getattrs (Dwarf_Die *die, int (*callback) (Dwarf_Attribute *, void *), in dwarf_getattrs() argument 62 if (die == NULL) in dwarf_getattrs() 68 const unsigned char *die_addr = die->addr; in dwarf_getattrs() 74 if (die->abbrev == NULL) in dwarf_getattrs() 76 die->abbrev = __libdw_findabbrev (die->cu, u128); in dwarf_getattrs() 78 if (unlikely (die->abbrev == DWARF_END_ABBREV)) in dwarf_getattrs() 86 const unsigned char *attrp = die->abbrev->attrp; in dwarf_getattrs() 87 const unsigned char *const offset_attrp = die->abbrev->attrp + offset; in dwarf_getattrs() 90 Dwarf *dbg = die->cu->dbg; in dwarf_getattrs() 121 attr.cu = die->cu; in dwarf_getattrs() [all …]
|
D | dwarf_aggregate_size.c | 59 get_type (Dwarf_Die *die, Dwarf_Attribute *attr_mem, Dwarf_Die *type_mem) in get_type() argument 62 (INTUSE(dwarf_attr_integrate) (die, DW_AT_type, attr_mem), type_mem); in get_type() 66 array_size (Dwarf_Die *die, Dwarf_Word *size, in array_size() argument 70 if (INTUSE(dwarf_aggregate_size) (get_type (die, attr_mem, type_mem), in array_size() 78 if (INTUSE(dwarf_child) (die, &child) != 0) in array_size() 116 Dwarf_Die cu = CUDIE (die->cu); in array_size() 159 int has_children = INTUSE(dwarf_child) (die, &enum_child); in array_size() 213 aggregate_size (Dwarf_Die *die, Dwarf_Word *size, Dwarf_Die *type_mem) in aggregate_size() argument 217 if (INTUSE(dwarf_attr_integrate) (die, DW_AT_byte_size, &attr_mem) != NULL) in aggregate_size() 220 switch (INTUSE(dwarf_tag) (die)) in aggregate_size() [all …]
|
D | dwarf_getfuncs.c | 68 Dwarf_Die *die; in dwarf_getfuncs() local 75 die = INTUSE(dwarf_offdie) (cudie->cu->dbg, offset, &die_mem); in dwarf_getfuncs() 76 res = INTUSE(dwarf_siblingof) (die, &die_mem); in dwarf_getfuncs() 78 die = res != 0 ? NULL : &die_mem; in dwarf_getfuncs() 80 while (die != NULL) in dwarf_getfuncs() 82 if (INTUSE(dwarf_tag) (die) == DW_TAG_subprogram) in dwarf_getfuncs() 84 if (callback (die, arg) != DWARF_CB_OK) in dwarf_getfuncs() 85 return INTUSE(dwarf_dieoffset) (die); in dwarf_getfuncs() 88 if (INTUSE(dwarf_siblingof) (die, &die_mem) != 0) in dwarf_getfuncs()
|
D | dwarf_haschildren.c | 60 dwarf_haschildren (die) in dwarf_haschildren() argument 61 Dwarf_Die *die; in dwarf_haschildren() 64 Dwarf_Abbrev *abbrevp = die->abbrev; 67 const unsigned char *readp = (unsigned char *) die->addr; 74 abbrevp = __libdw_findabbrev (die->cu, abbrev_code); 75 die->abbrev = abbrevp ?: DWARF_END_ABBREV; 77 if (unlikely (die->abbrev == DWARF_END_ABBREV)) 83 return die->abbrev->has_children;
|
D | libdw_visit_scopes.c | 59 classify_die (Dwarf_Die *die) in classify_die() argument 61 switch (INTUSE(dwarf_tag) (die)) in classify_die() 78 return (INTUSE(dwarf_hasattr) (die, DW_AT_abstract_origin) in classify_die() 109 if (INTUSE(dwarf_child) (&root->die, &child.die) != 0) 130 switch (classify_die (&child.die)) 135 if (INTUSE(dwarf_haschildren) (&child.die)) 151 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&child.die, 154 if (INTUSE(dwarf_formref_die) (attr, &child.die) != NULL) 174 while (INTUSE(dwarf_siblingof) (&child.die, &child.die) == 0);
|
D | libdw.h | 359 extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die); 362 extern Dwarf_Off dwarf_cuoffset (Dwarf_Die *die); 365 extern Dwarf_Die *dwarf_diecu (Dwarf_Die *die, Dwarf_Die *result, 374 extern int dwarf_child (Dwarf_Die *die, Dwarf_Die *result) 383 extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result) 387 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1); 395 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die, 401 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1); 405 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name, 410 extern int dwarf_hasattr (Dwarf_Die *die, unsigned int search_name); [all …]
|
D | dwarf_tag.c | 103 dwarf_tag (die) in dwarf_tag() argument 104 Dwarf_Die *die; in dwarf_tag() 107 if (die->abbrev == NULL) 111 const unsigned char *addr = die->addr; 115 die->abbrev = __libdw_findabbrev (die->cu, u128); 118 if (unlikely (die->abbrev == DWARF_END_ABBREV)) 124 return die->abbrev->tag;
|
D | dwarf_cuoffset.c | 60 dwarf_cuoffset (die) in dwarf_cuoffset() argument 61 Dwarf_Die *die; in dwarf_cuoffset() 63 return (die == NULL 65 : (die->addr - cu_data (die->cu)->d_buf - die->cu->start));
|
D | dwarf_func_inline.c | 65 struct Dwarf_Die_Chain *die, void *arg) in scope_visitor() argument 69 if (INTUSE(dwarf_tag) (&die->die) != DW_TAG_inlined_subroutine) in scope_visitor() 73 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (&die->die, DW_AT_abstract_origin, in scope_visitor() 86 return (*v->callback) (&die->die, v->arg); in scope_visitor() 119 struct Dwarf_Die_Chain cu = { .die = CUDIE (func->cu), .parent = NULL }; in dwarf_func_inline_instances()
|
D | dwarf_ranges.c | 106 dwarf_ranges (Dwarf_Die *die, ptrdiff_t offset, Dwarf_Addr *basep, in dwarf_ranges() argument 109 if (die == NULL) in dwarf_ranges() 114 && INTUSE(dwarf_highpc) (die, endp) == 0 in dwarf_ranges() 115 && INTUSE(dwarf_lowpc) (die, startp) == 0) in dwarf_ranges() 126 const Elf_Data *d = die->cu->dbg->sectiondata[IDX_debug_ranges]; in dwarf_ranges() 138 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_ranges, in dwarf_ranges() 177 if (__libdw_offset_in_section (die->cu->dbg, in dwarf_ranges() 186 if (readendp - readp < die->cu->address_size * 2) in dwarf_ranges() 192 switch (__libdw_read_begin_end_pair_inc (die->cu->dbg, IDX_debug_ranges, in dwarf_ranges() 193 &readp, die->cu->address_size, in dwarf_ranges()
|
D | dwarf_diecu.c | 59 dwarf_diecu (die, result, address_sizep, offset_sizep) in dwarf_diecu() argument 60 Dwarf_Die *die; in dwarf_diecu() 65 if (die == NULL) 68 *result = CUDIE (die->cu); 71 *address_sizep = die->cu->address_size; 73 *offset_sizep = die->cu->offset_size;
|
D | dwarf_hasattr_integrate.c | 58 dwarf_hasattr_integrate (Dwarf_Die *die, unsigned int search_name) in dwarf_hasattr_integrate() argument 64 if (INTUSE(dwarf_hasattr) (die, search_name)) in dwarf_hasattr_integrate() 68 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, in dwarf_hasattr_integrate() 71 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, &attr_mem); in dwarf_hasattr_integrate() 75 die = INTUSE(dwarf_formref_die) (attr, &die_mem); in dwarf_hasattr_integrate() 77 while (die != NULL); in dwarf_hasattr_integrate()
|
D | dwarf_attr_integrate.c | 58 dwarf_attr_integrate (Dwarf_Die *die, unsigned int search_name, in dwarf_attr_integrate() argument 65 Dwarf_Attribute *attr = INTUSE(dwarf_attr) (die, search_name, result); in dwarf_attr_integrate() 69 attr = INTUSE(dwarf_attr) (die, DW_AT_abstract_origin, result); in dwarf_attr_integrate() 71 attr = INTUSE(dwarf_attr) (die, DW_AT_specification, result); in dwarf_attr_integrate() 75 die = INTUSE(dwarf_formref_die) (attr, &die_mem); in dwarf_attr_integrate() 77 while (die != NULL); in dwarf_attr_integrate()
|
/external/lldb/source/Plugins/SymbolFile/DWARF/ |
D | SymbolFileDWARF.cpp | 119 void Push (DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die) in Push() argument 121 m_dies.push_back (DIEInfo(cu, die)); in Push() 133 const DWARFDebugInfoEntry *die = m_dies[i].die; in LogDIEs() local 135 die->GetQualifiedName(dwarf, cu, qualified_name); in LogDIEs() 138 die->GetOffset(), in LogDIEs() 139 DW_TAG_value_to_name(die->Tag()), in LogDIEs() 159 Push (DWARFCompileUnit *cu, const DWARFDebugInfoEntry *die) in Push() argument 162 m_die_stack.Push (cu, die); in Push() 182 die(d) in DIEInfo() 186 const DWARFDebugInfoEntry *die; member [all …]
|
D | DWARFDebugInfo.cpp | 294 DWARFDebugInfoEntry* die = NULL; in GetDIEPtrWithCompileUnitHint() local 296 die = (*cu_handle)->GetDIEPtr(die_offset); in GetDIEPtrWithCompileUnitHint() 298 if (die == NULL) in GetDIEPtrWithCompileUnitHint() 304 die = cu_sp->GetDIEPtr(die_offset); in GetDIEPtrWithCompileUnitHint() 307 if (die == NULL) in GetDIEPtrWithCompileUnitHint() 309 return die; in GetDIEPtrWithCompileUnitHint() 339 DWARFDebugInfoEntry* die, in DWARFDebugInfo_ParseCallback() argument 347 if (die) in DWARFDebugInfo_ParseCallback() 349 cu->AddDIE(*die); in DWARFDebugInfo_ParseCallback() 400 DWARFDebugInfoEntry die; in Parse() local [all …]
|
D | DWARFCompileUnit.cpp | 174 DWARFDebugInfoEntry die; in ExtractDIEsIfNeeded() local 197 die.FastExtract (debug_info_data, this, fixed_form_sizes, &offset)) in ExtractDIEsIfNeeded() 206 const bool null_die = die.IsNULL(); in ExtractDIEsIfNeeded() 209 …uint64_t base_addr = die.GetAttributeValueAsUnsigned(m_dwarf2Data, this, DW_AT_low_pc, LLDB_INVALI… in ExtractDIEsIfNeeded() 211 base_addr = die.GetAttributeValueAsUnsigned(m_dwarf2Data, this, DW_AT_entry_pc, 0); in ExtractDIEsIfNeeded() 214 AddDIE (die); in ExtractDIEsIfNeeded() 235 die.SetParentIndex(m_die_array.size() - die_index_stack[depth-1]); in ExtractDIEsIfNeeded() 241 m_die_array.push_back(die); in ExtractDIEsIfNeeded() 262 const bool die_has_children = die.HasChildren(); in ExtractDIEsIfNeeded() 395 const DWARFDebugInfoEntry* die = DIE(); in BuildAddressRangeTable() local [all …]
|
/external/llvm/autoconf/ |
D | AutoRegen.sh | 3 die() { function 30 test -f $configfile || die "Can't find 'autoconf' dir; please cd into it first" 32 test $? -eq 0 || die "Your autoconf was not detected as being $want_autoconf_version_clean" 34 test $? -eq 0 || die "Your aclocal was not detected as being $want_aclocal_version_clean" 36 test $? -eq 0 || die "Your autoheader was not detected as being $want_autoheader_version_clean" 48 aclocal --force -I $cwd/m4 || die "aclocal failed" 50 autoconf --force --warnings=all -o ../$outfile $configfile || die "autoconf failed" 53 autoheader --warnings=all -I autoconf -I autoconf/m4 autoconf/$configfile || die "autoheader failed"
|
/external/elfutils/elfutils/ |
D | libdw.h | 359 extern Dwarf_Off dwarf_dieoffset (Dwarf_Die *die); 362 extern Dwarf_Off dwarf_cuoffset (Dwarf_Die *die); 365 extern Dwarf_Die *dwarf_diecu (Dwarf_Die *die, Dwarf_Die *result, 374 extern int dwarf_child (Dwarf_Die *die, Dwarf_Die *result) 383 extern int dwarf_siblingof (Dwarf_Die *die, Dwarf_Die *result) 387 extern int dwarf_haschildren (Dwarf_Die *die) __nonnull_attribute__ (1); 395 extern ptrdiff_t dwarf_getattrs (Dwarf_Die *die, 401 extern int dwarf_tag (Dwarf_Die *die) __nonnull_attribute__ (1); 405 extern Dwarf_Attribute *dwarf_attr (Dwarf_Die *die, unsigned int search_name, 410 extern int dwarf_hasattr (Dwarf_Die *die, unsigned int search_name); [all …]
|
/external/elfutils/0.153/libdwfl/ |
D | dwfl_module_getsrc.c | 70 size_t l = 0, u = cu->die.cu->lines->nlines; in dwfl_module_getsrc() 74 if (addr < cu->die.cu->lines->info[idx].addr) in dwfl_module_getsrc() 76 else if (addr > cu->die.cu->lines->info[idx].addr) in dwfl_module_getsrc() 82 if (cu->die.cu->lines->nlines > 0) in dwfl_module_getsrc() 83 assert (cu->die.cu->lines->info in dwfl_module_getsrc() 84 [cu->die.cu->lines->nlines - 1].end_sequence); in dwfl_module_getsrc() 89 if (u > 0 && u < cu->die.cu->lines->nlines in dwfl_module_getsrc() 90 && addr > cu->die.cu->lines->info[u - 1].addr) in dwfl_module_getsrc()
|
/external/valgrind/main/cachegrind/ |
D | cg_diff.in | 80 die("cg_diff-$version\n"); 89 die($usage); 99 die($usage); 105 die($usage); 158 (@CC <= $numEvents) or die("Line $.: too many event counts\n"); 167 || die "Cannot open $input_file for reading\n"; 181 ($line =~ s/^cmd:\s+//) or die("Line $.: missing command line\n"); 189 or die("Line $.: missing events line\n"); 206 defined($currCC) || die; 210 defined($currFileName) || die; [all …]
|
/external/valgrind/main/massif/ |
D | ms_print.in | 111 die("ms_print-$version\n"); 116 ($1 >= 0 && $1 <= 100) or die($usage); 120 (4 <= $graph_x && $graph_x <= 1000) or die($usage); 124 (4 <= $graph_y && $graph_y <= 1000) or die($usage); 127 die($usage); 139 die($usage); 164 or die("Line $.: expected \"$fieldname\" line, got end of file\n"); 166 or die("Line $.: expected \"$fieldname\" line, got:\n$line"); 173 ($xpt_szB <= $total_szB) or die; 196 or die("Line $.: expected a tree node line, got:\n$line\n"); [all …]
|
/external/libvpx/libvpx/ |
D | args.c | 22 extern void die(const char *fmt, ...) __attribute__((noreturn)); 24 extern void die(const char *fmt, ...); 70 die("Error: option %s requires argument.\n", arg.name); in arg_match() 73 die("Error: option %s requires no argument.\n", arg.name); in arg_match() 149 die("Option %s: Value %ld out of range for unsigned int\n", in arg_parse_uint() 153 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_uint() 168 die("Option %s: Value %ld out of range for signed int\n", in arg_parse_int() 172 die("Option %s: Invalid character '%c'\n", arg->name, *endptr); in arg_parse_int() 192 else die("Option %s: Value %ld out of range for signed int\n", in arg_parse_rational() 194 } else die("Option %s: Expected / at '%c'\n", arg->name, *endptr); in arg_parse_rational() [all …]
|