Home
last modified time | relevance | path

Searched refs:DWARFUnit (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFDebugInfoEntry.h23 class DWARFUnit; variable
41 void dump(raw_ostream &OS, DWARFUnit *u, unsigned recurseDepth,
43 void dumpAttribute(raw_ostream &OS, DWARFUnit *u, uint32_t *offset_ptr,
49 bool extractFast(const DWARFUnit *U, uint32_t *OffsetPtr);
89 bool getAttributeValue(const DWARFUnit *U, const uint16_t Attr,
92 const char *getAttributeValueAsString(const DWARFUnit *U, const uint16_t Attr,
95 uint64_t getAttributeValueAsAddress(const DWARFUnit *U, const uint16_t Attr,
98 uint64_t getAttributeValueAsUnsignedConstant(const DWARFUnit *U,
102 uint64_t getAttributeValueAsReference(const DWARFUnit *U, const uint16_t Attr,
105 uint64_t getAttributeValueAsSectionOffset(const DWARFUnit *U,
[all …]
DDWARFFormValue.h19 class DWARFUnit; variable
59 void dump(raw_ostream &OS, const DWARFUnit *U) const;
68 const DWARFUnit *u);
75 Optional<uint64_t> getAsReference(const DWARFUnit *U) const;
78 Optional<const char *> getAsCString(const DWARFUnit *U) const;
79 Optional<uint64_t> getAsAddress(const DWARFUnit *U) const;
84 const DWARFUnit *u) const;
86 uint32_t *offset_ptr, const DWARFUnit *u);
DDWARFTypeUnit.h17 class DWARFTypeUnit : public DWARFUnit {
26 : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {} in DWARFTypeUnit()
28 return DWARFUnit::getHeaderSize() + 12; in getHeaderSize()
DDWARFUnit.h29 class DWARFUnit; variable
39 virtual DWARFUnit *getUnitForOffset(uint32_t Offset) const = 0;
103 class DWARFUnit {
130 DWARFUnit *DWOU;
133 DWARFUnit *getUnit() const { return DWOU; } in getUnit()
143 DWARFUnit(DWARFContext &Context, const DWARFSection &Section,
148 virtual ~DWARFUnit();
DDWARFCompileUnit.h17 class DWARFCompileUnit : public DWARFUnit {
23 : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LE, UnitSection) {} in DWARFCompileUnit()
DDWARFContext.h158 const DWARFDebugLine::LineTable *getLineTableForUnit(DWARFUnit *cu);
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp33 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, in DWARFUnit() function in DWARFUnit
43 DWARFUnit::~DWARFUnit() { in ~DWARFUnit()
46 bool DWARFUnit::getAddrOffsetSectionItem(uint32_t Index, in getAddrOffsetSectionItem()
56 bool DWARFUnit::getStringOffsetSectionItem(uint32_t Index, in getStringOffsetSectionItem()
68 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) { in extractImpl()
88 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract()
104 bool DWARFUnit::extractRangeList(uint32_t RangeListOffset, in extractRangeList()
113 void DWARFUnit::clear() { in clear()
126 const char *DWARFUnit::getCompilationDir() { in getCompilationDir()
133 uint64_t DWARFUnit::getDWOId() { in getDWOId()
[all …]
DDWARFDebugInfoEntry.cpp29 static const DWARFUnit *findUnitAndExtractFast(DWARFDebugInfoEntryMinimal &DIE, in findUnitAndExtractFast()
30 const DWARFUnit *Unit, in findUnitAndExtractFast()
36 void DWARFDebugInfoEntryMinimal::dump(raw_ostream &OS, DWARFUnit *u, in dump()
112 DWARFUnit *u, in dumpAttribute()
169 if (const DWARFUnit *RefU = findUnitAndExtractFast(DIE, u, &Ref)) in dumpAttribute()
183 bool DWARFDebugInfoEntryMinimal::extractFast(const DWARFUnit *U, in extractFast()
234 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue()
259 const DWARFUnit *U, const uint16_t Attr, const char *FailValue) const { in getAttributeValueAsString()
268 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsAddress()
277 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsUnsignedConstant()
[all …]
DDWARFFormValue.cpp134 const DWARFUnit *cu) { in extractValue()
261 const DWARFUnit *cu) const { in skipValue()
267 uint32_t *offset_ptr, const DWARFUnit *cu) { in skipValue()
367 DWARFFormValue::dump(raw_ostream &OS, const DWARFUnit *cu) const { in dump()
495 Optional<const char *> DWARFFormValue::getAsCString(const DWARFUnit *U) const { in getAsCString()
515 Optional<uint64_t> DWARFFormValue::getAsAddress(const DWARFUnit *U) const { in getAsAddress()
528 Optional<uint64_t> DWARFFormValue::getAsReference(const DWARFUnit *U) const { in getAsReference()
DCMakeLists.txt17 DWARFUnit.cpp
DDWARFTypeUnit.cpp18 if (!DWARFUnit::extractImpl(debug_info, offset_ptr)) in extractImpl()
DAndroid.mk19 DWARFUnit.cpp \
DDWARFContext.cpp324 DWARFContext::getLineTableForUnit(DWARFUnit *cu) { in getLineTableForUnit()
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp76 CompileUnit(DWARFUnit &OrigUnit, unsigned ID) in CompileUnit()
91 DWARFUnit &getOrigUnit() const { return OrigUnit; } in getOrigUnit()
171 DWARFUnit &OrigUnit;
730 DWARFUnit &OrigUnit = Unit.getOrigUnit(); in emitLocationsForUnit()
1124 const DWARFFormValue &Val, const DWARFUnit &U);
1191 resolveDIEReference(DWARFFormValue &RefValue, const DWARFUnit &Unit,
1197 bool getDIENames(const DWARFDebugInfoEntryMinimal &Die, DWARFUnit &U,
1200 void reportWarning(const Twine &Warning, const DWARFUnit *Unit = nullptr,
1246 DWARFFormValue &RefValue, const DWARFUnit &Unit, in resolveDIEReference()
1264 DWARFUnit &U, AttributesInfo &Info) { in getDIENames()
[all …]