/external/elfutils/libdw/ |
dwarf_tag.c | 24 __libdw_findabbrev (struct Dwarf_CU *cu, unsigned int code) 29 abb = Dwarf_Abbrev_Hash_find (&cu->abbrev_hash, code, NULL); 31 while (cu->last_abbrev_offset != (size_t) -1l) 37 abb = __libdw_getabbrev (cu->dbg, cu, cu->last_abbrev_offset, &length, 42 cu->last_abbrev_offset = (size_t) -1l; 47 cu->last_abbrev_offset += length; 71 die->abbrev = __libdw_findabbrev (die->cu, u128);
|
dwarf_getsrcfiles.c | 1 /* Return source file information of CU. 33 struct Dwarf_CU *const cu = cudie->cu; local 34 if (cu->lines == NULL) 43 else if (cu->files != (void *) -1l) 49 assert (cu->files != NULL && cu->files != (void *) -1l); 50 *files = cu->files; 52 *nfiles = cu->files->nfiles;
|
dwarf_formaddr.c | 37 if (attr->cu->address_size == 8) 38 *return_addr = read_8ubyte_unaligned (attr->cu->dbg, attr->valp); 40 *return_addr = read_4ubyte_unaligned (attr->cu->dbg, attr->valp);
|
dwarf_cuoffset.c | 1 /* Return offset of DIE in CU. 30 - die->cu->dbg->sectiondata[IDX_debug_info]->d_buf 31 - die->cu->start));
|
dwarf_siblingof.c | 39 /* Copy of the CU in the request. */ 40 sibattr.cu = this_die.cu; 61 sibattr.cu->dbg->sectiondata[IDX_debug_info]->d_buf 62 + sibattr.cu->start + offset); 87 /* Maybe we reached the end of the CU. */ 89 >= ((unsigned char *) sibattr.cu->dbg->sectiondata[IDX_debug_info]->d_buf 90 + sibattr.cu->end)) 100 /* Same CU as the parent. */ 101 result->cu = sibattr.cu [all...] |
dwarf_getabbrev.c | 26 __libdw_getabbrev (dbg, cu, offset, lengthp, result) 28 struct Dwarf_CU *cu; 66 if (cu == NULL 67 || (abb = Dwarf_Abbrev_Hash_find (&cu->abbrev_hash, code, NULL)) == NULL) 110 if (cu != NULL && ! foundit) 111 (void) Dwarf_Abbrev_Hash_insert (&cu->abbrev_hash, abb->code, abb); 124 return __libdw_getabbrev (die->cu->dbg, die->cu, 125 die->cu->orig_abbrev_offset + offset, lengthp,
|
dwarf_attr.c | 35 /* Always fill in the CU information. */ 36 result->cu = die->cu;
|
dwarf_child.c | 31 Dwarf *dbg = die->cu->dbg; 43 abbrevp = __libdw_findabbrev (die->cu, abbrev_code); 94 size_t len = __libdw_form_val_len (dbg, die->cu, attr_form, readp); 145 struct Dwarf_CU *cu = die->cu; local 154 /* Same CU as the parent. */ 155 result->cu = cu;
|
dwarf_getattrs.c | 37 die->abbrev = __libdw_findabbrev (die->cu, u128); 49 Dwarf *dbg = die->cu->dbg; 73 attr.cu = die->cu; 82 size_t len = __libdw_form_val_len (dbg, die->cu, attr.form,
|
dwarf_formref.c | 41 *return_offset = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 45 *return_offset = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 49 *return_offset = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
|
dwarf_formsdata.c | 41 *return_sval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 45 *return_sval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 49 *return_sval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
|
dwarf_formudata.c | 41 *return_uval = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 45 *return_uval = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 49 *return_uval = read_8ubyte_unaligned (attr->cu->dbg, attr->valp);
|
dwarf_offdie.c | 44 /* Get the CU. */ 45 result->cu = __libdw_findcu (dbg, offset); 46 if (result->cu == NULL)
|
dwarf_dieoffset.c | 29 : die->addr - die->cu->dbg->sectiondata[IDX_debug_info]->d_buf);
|
dwarf_formblock.c | 42 return_block->length = read_2ubyte_unaligned (attr->cu->dbg, attr->valp); 47 return_block->length = read_4ubyte_unaligned (attr->cu->dbg, attr->valp); 64 > ((unsigned char *) attr->cu->dbg->sectiondata[IDX_debug_info]->d_buf 65 + attr->cu->dbg->sectiondata[IDX_debug_info]->d_size))
|
libdw_form.c | 27 __libdw_form_val_len (Dwarf *dbg, struct Dwarf_CU *cu, unsigned int form, 37 result = cu->address_size; 42 result = cu->offset_size; 100 result = __libdw_form_val_len (dbg, cu, u128, valp);
|
dwarf_formstring.c | 36 Dwarf *dbg = attrp->cu->dbg; 48 if (attrp->cu->offset_size == 8)
|
dwarf_getmacros.c | 43 = die->cu->dbg->sectiondata[IDX_debug_macinfo]->d_buf + offset; 45 = readp + die->cu->dbg->sectiondata[IDX_debug_macinfo]->d_size; 105 - ((unsigned char *) die->cu->dbg->sectiondata[IDX_debug_macinfo]->d_buf 109 /* If we come here the termination of the data for the CU is not
|
/external/elfutils/tests/ |
run-get-pubnames.sh | 25 [ 0] "main", die: 104, cu: 11 26 CU name: "m.c" 28 [ 1] "a", die: 174, cu: 11 29 CU name: "m.c" 31 [ 2] "bar", die: 295, cu: 202 32 CU name: "b.c" 34 [ 3] "foo", die: 5721, cu: 5628 35 CU name: "f.c" 37 [ 0] "bar", die: 72, cu: 11 38 CU name: "b.c [all...] |
/external/llvm/lib/DebugInfo/ |
DWARFDebugInfoEntry.cpp | 22 const DWARFCompileUnit *cu, 25 DataExtractor debug_info_data = cu->getDebugInfoExtractor(); 47 dumpAttribute(OS, cu, &offset, attr, form, indent); 53 child->dump(OS, cu, recurseDepth-1, indent+2); 68 const DWARFCompileUnit *cu, 88 if (!formValue.extractValue(cu->getDebugInfoExtractor(), offset_ptr, cu)) 92 formValue.dump(OS, cu); 96 bool DWARFDebugInfoEntryMinimal::extractFast(const DWARFCompileUnit *cu, 101 DataExtractor debug_info_data = cu->getDebugInfoExtractor() [all...] |
DWARFDebugInfoEntry.h | 40 void dump(raw_ostream &OS, const DWARFCompileUnit *cu, 42 void dumpAttribute(raw_ostream &OS, const DWARFCompileUnit *cu, 46 bool extractFast(const DWARFCompileUnit *cu, const uint8_t *fixed_form_sizes, 51 bool extract(const DWARFCompileUnit *cu, uint32_t *offset_ptr); 109 uint32_t getAttributeValue(const DWARFCompileUnit *cu, 113 const char* getAttributeValueAsString(const DWARFCompileUnit* cu, 117 uint64_t getAttributeValueAsUnsigned(const DWARFCompileUnit *cu, 121 uint64_t getAttributeValueAsReference(const DWARFCompileUnit *cu, 125 int64_t getAttributeValueAsSigned(const DWARFCompileUnit* cu, 129 void buildAddressRangeTable(const DWARFCompileUnit *cu, [all...] |
DWARFFormValue.h | 51 void dump(raw_ostream &OS, const DWARFCompileUnit* cu) const; 53 const DWARFCompileUnit *cu); 58 uint64_t getReference(const DWARFCompileUnit* cu) const; 63 bool resolveCompileUnitReferences(const DWARFCompileUnit* cu); 68 const DWARFCompileUnit *cu) const; 70 uint32_t *offset_ptr, const DWARFCompileUnit *cu);
|
DWARFContext.cpp | 35 DWARFCompileUnit *cu = getCompileUnitAtIndex(i); local 37 cu->getCompileUnitDIE()->getAttributeValueAsUnsigned(cu, DW_AT_stmt_list, 41 cu->getAddressByteSize()); 82 DWARFContext::getLineTableForCompileUnit(DWARFCompileUnit *cu) { 87 cu->getCompileUnitDIE()->getAttributeValueAsUnsigned(cu, DW_AT_stmt_list, 98 cu->getAddressByteSize()); 147 DWARFCompileUnit *cu = getCompileUnitForOffset(cuOffset); local 148 if (!cu) [all...] |
DWARFFormValue.cpp | 83 const DWARFCompileUnit *cu) { 94 Value.uval = data.getUnsigned(offset_ptr, cu->getAddressByteSize()); 169 const DWARFCompileUnit *cu) const { 170 return DWARFFormValue::skipValue(Form, debug_info_data, offset_ptr, cu); 175 uint32_t *offset_ptr, const DWARFCompileUnit *cu) { 211 *offset_ptr += cu->getAddressByteSize(); 260 DWARFFormValue::dump(raw_ostream &OS, const DWARFCompileUnit *cu) const { 261 DataExtractor debug_str_data(cu->getContext().getStringSection(), true, 0); 321 OS << format("cu + 0x%2.2x", (uint8_t)uvalue); 325 OS << format("cu + 0x%4.4x", (uint16_t)uvalue) [all...] |
/frameworks/base/tools/aapt/tests/ |
CrunchCache_test.cpp | 55 CacheUpdater* cu(mcu); 58 int result = cc.crunch(cu); 74 result = cc.crunch(cu, true); 84 delete cu;
|