Home
last modified time | relevance | path

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

12

/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);
94 void dumpString(raw_ostream &OS, const DWARFUnit *U) const;
DDWARFUnit.h30 class DWARFUnit; variable
40 virtual DWARFUnit *getUnitForOffset(uint32_t Offset) const = 0;
103 class DWARFUnit {
132 DWARFUnit *DWOU;
135 DWARFUnit *getUnit() const { return DWOU; } in getUnit()
147 DWARFUnit(DWARFContext &Context, const DWARFSection &Section,
153 virtual ~DWARFUnit();
DDWARFTypeUnit.h17 class DWARFTypeUnit : public DWARFUnit {
27 : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LS, LE, IsDWO, in DWARFTypeUnit()
30 return DWARFUnit::getHeaderSize() + 12; in getHeaderSize()
DDWARFCompileUnit.h17 class DWARFCompileUnit : public DWARFUnit {
24 : DWARFUnit(Context, Section, DA, RS, SS, SOS, AOS, LS, LE, IsDWO, in DWARFCompileUnit()
/external/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp35 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, in DWARFUnit() function in llvm::DWARFUnit
52 DWARFUnit::~DWARFUnit() { in ~DWARFUnit()
55 bool DWARFUnit::getAddrOffsetSectionItem(uint32_t Index, in getAddrOffsetSectionItem()
65 bool DWARFUnit::getStringOffsetSectionItem(uint32_t Index, in getStringOffsetSectionItem()
77 bool DWARFUnit::extractImpl(DataExtractor debug_info, uint32_t *offset_ptr) { in extractImpl()
105 bool DWARFUnit::extract(DataExtractor debug_info, uint32_t *offset_ptr) { in extract()
121 bool DWARFUnit::extractRangeList(uint32_t RangeListOffset, in extractRangeList()
130 void DWARFUnit::clear() { in clear()
143 const char *DWARFUnit::getCompilationDir() { in getCompilationDir()
150 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, &RefOffset)) in dumpAttribute()
184 bool DWARFDebugInfoEntryMinimal::extractFast(const DWARFUnit *U, in extractFast()
235 const DWARFUnit *U, const uint16_t Attr, DWARFFormValue &FormValue) const { in getAttributeValue()
260 const DWARFUnit *U, const uint16_t Attr, const char *FailValue) const { in getAttributeValueAsString()
269 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsAddress()
278 const DWARFUnit *U, const uint16_t Attr, uint64_t FailValue) const { in getAttributeValueAsUnsignedConstant()
[all …]
DDWARFFormValue.cpp135 const DWARFUnit *cu) { in extractValue()
257 const DWARFUnit *cu) const { in skipValue()
263 uint32_t *offset_ptr, const DWARFUnit *cu) { in skipValue()
371 DWARFFormValue::dump(raw_ostream &OS, const DWARFUnit *cu) const { in dump()
495 void DWARFFormValue::dumpString(raw_ostream &OS, const DWARFUnit *U) const { in dumpString()
505 Optional<const char *> DWARFFormValue::getAsCString(const DWARFUnit *U) const { in getAsCString()
526 Optional<uint64_t> DWARFFormValue::getAsAddress(const DWARFUnit *U) const { in getAsAddress()
539 Optional<uint64_t> DWARFFormValue::getAsReference(const DWARFUnit *U) const { in getAsReference()
DCMakeLists.txt18 DWARFUnit.cpp
DDWARFTypeUnit.cpp18 if (!DWARFUnit::extractImpl(debug_info, offset_ptr)) in extractImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFUnit.cpp51 DWARFUnit::DWARFUnit(DWARFContext &DC, const DWARFSection &Section, in DWARFUnit() function in DWARFUnit
64 DWARFUnit::~DWARFUnit() = default;
66 DWARFDataExtractor DWARFUnit::getDebugInfoExtractor() const { in getDebugInfoExtractor()
71 bool DWARFUnit::getAddrOffsetSectionItem(uint32_t Index, in getAddrOffsetSectionItem()
82 bool DWARFUnit::getStringOffsetSectionItem(uint32_t Index, in getStringOffsetSectionItem()
184 Error DWARFUnit::extractRangeList(uint32_t RangeListOffset, in extractRangeList()
194 void DWARFUnit::clear() { in clear()
203 const char *DWARFUnit::getCompilationDir() { in getCompilationDir()
207 void DWARFUnit::extractDIEsToVector( in extractDIEsToVector()
261 size_t DWARFUnit::extractDIEsIfNeeded(bool CUDieOnly) { in extractDIEsIfNeeded()
[all …]
DDWARFAbbreviationDeclaration.cpp153 const DWARFUnit &U) const { in getAttributeValue()
187 const DWARFUnit &U) const { in getByteSize()
199 const DWARFUnit &U) const { in getByteSize()
212 const DWARFUnit &U) const { in getFixedAttributesByteSize()
DDWARFDebugInfoEntry.cpp22 bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, in extractFast()
29 bool DWARFDebugInfoEntry::extractFast(const DWARFUnit &U, uint32_t *OffsetPtr, in extractFast()
DDWARFDebugLine.cpp199 const DWARFContext &Ctx, const DWARFUnit *U, in parseV5DirFileTables()
297 const DWARFUnit *U) { in parse()
471 const DWARFUnit *U, std::function<void(Error)> RecoverableErrorCallback) { in getOrParseLineTable()
491 const DWARFContext &Ctx, const DWARFUnit *U, in parse()
1082 DWARFUnit *U = prepareToParse(Offset); in parseNext()
1096 DWARFUnit *U = prepareToParse(Offset); in skip()
1104 DWARFUnit *DWARFDebugLine::SectionParser::prepareToParse(uint32_t Offset) { in prepareToParse()
1105 DWARFUnit *U = nullptr; in prepareToParse()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAbbreviationDeclaration.h25 class DWARFUnit; variable
83 Optional<int64_t> getByteSize(const DWARFUnit &U) const;
136 const DWARFUnit &U) const;
144 Optional<size_t> getFixedAttributesByteSize(const DWARFUnit &U) const;
169 size_t getByteSize(const DWARFUnit &U) const;
DDWARFDebugInfoEntry.h21 class DWARFUnit; variable
40 bool extractFast(const DWARFUnit &U, uint32_t *OffsetPtr);
43 bool extractFast(const DWARFUnit &U, uint32_t *OffsetPtr,
DDWARFDebugLine.h29 class DWARFUnit; variable
128 const DWARFContext &Ctx, const DWARFUnit *U = nullptr);
251 const DWARFContext &Ctx, const DWARFUnit *U,
275 const DWARFContext &Ctx, const DWARFUnit *U,
284 using LineToUnitMap = std::map<uint64_t, DWARFUnit *>;
320 DWARFUnit *prepareToParse(uint32_t Offset);
DDWARFFormValue.h24 class DWARFUnit; variable
57 const DWARFUnit *U = nullptr; /// Remember the DWARFUnit at extract time.
76 const DWARFUnit *getUnit() const { return U; } in getUnit()
86 const DWARFUnit *Unit = nullptr);
89 dwarf::FormParams FormParams, const DWARFUnit *U) { in extractValue()
DDWARFCompileUnit.h18 class DWARFCompileUnit : public DWARFUnit {
26 : DWARFUnit(Context, Section, Header, DA, RS, SS, SOS, AOS, LS, LE, IsDWO, in DWARFCompileUnit()
DDWARFUnit.h42 class DWARFUnit; variable
110 virtual DWARFUnit *getUnitForOffset(uint32_t Offset) const = 0;
111 virtual DWARFUnit *getUnitForIndexEntry(const DWARFUnitIndex::Entry &E) = 0;
255 class DWARFUnit {
293 std::shared_ptr<DWARFUnit> DWO;
323 DWARFUnit(DWARFContext &Context, const DWARFSection &Section,
330 virtual ~DWARFUnit();
DDWARFTypeUnit.h26 class DWARFTypeUnit : public DWARFUnit {
34 : DWARFUnit(Context, Section, Header, DA, RS, SS, SOS, AOS, LS, LE, IsDWO, in DWARFTypeUnit()
DDWARFDie.h28 class DWARFUnit; variable
44 DWARFUnit *U = nullptr;
49 DWARFDie(DWARFUnit *Unit, const DWARFDebugInfoEntry *D) : U(Unit), Die(D) {} in DWARFDie()
54 DWARFUnit *getDwarfUnit() const { return U; } in getDwarfUnit()
DDWARFVerifier.h27 class DWARFUnit; variable
155 bool verifyUnitContents(DWARFUnit &Unit, uint8_t UnitType = 0);
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp198 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit()
223 DWARFUnit &getOrigUnit() const { return OrigUnit; } in getOrigUnit()
333 DWARFUnit &OrigUnit;
847 DWARFUnit &OrigUnit = Unit.getOrigUnit(); in emitLocationsForUnit()
1123 void reportWarning(const Twine &Warning, const DWARFUnit *Unit = nullptr,
1211 const DWARFUnit &Unit, DebugMap &ModuleMap,
1331 const DWARFUnit &U);
1368 bool getDIENames(const DWARFDebugInfoEntryMinimal &Die, DWARFUnit &U,
1486 const DWARFFormValue &RefValue, const DWARFUnit &Unit, in resolveDIEReference()
1532 DWARFUnit &OrigUnit = U.getOrigUnit(); in setLastSeenDIE()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/
DCompileUnit.h80 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit()
101 DWARFUnit &getOrigUnit() const { return OrigUnit; } in getOrigUnit()
254 DWARFUnit &OrigUnit;

12