Home
last modified time | relevance | path

Searched refs:DWARFDebugNames (Results 1 – 12 of 12) sorted by relevance

/llvm-project/llvm/unittests/DebugInfo/DWARF/
H A DDWARFAcceleratorTableTest.cpp24 DWARFDebugNames Table(NamesExtractor, StrExtractor); in ExtractDebugNames()
30 TEST(DWARFDebugNames, ReservedUnitLength) { in TEST() argument
40 TEST(DWARFDebugNames, TooSmallForDWARF64) { in TEST() argument
50 TEST(DWARFDebugNames, BasicTestEntries) { in TEST() argument
91 const DWARFDebugNames &DebugNames = Ctx->getDebugNames(); in TEST()
93 const DWARFDebugNames::NameIndex &NameIndex = *DebugNames.begin(); in TEST()
104 DWARFDebugNames::NameTableEntry FirstEntry = NameIndex.getNameTableEntry(1); in TEST()
106 DWARFDebugNames::NameTableEntry SecondEntry = NameIndex.getNameTableEntry(2); in TEST()
109 SmallVector<DWARFDebugNames::Entry> FirstNameEntries = in TEST()
110 to_vector_of<DWARFDebugNames::Entry>(NameIndex.equal_range("NameType1")); in TEST()
[all …]
/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFAcceleratorTable.cpp431 void DWARFDebugNames::Header::dump(ScopedPrinter &W) const { in dump()
445 Error DWARFDebugNames::Header::extract(const DWARFDataExtractor &AS, in extract()
479 void DWARFDebugNames::Abbrev::dump(ScopedPrinter &W) const { in dump()
487 static constexpr DWARFDebugNames::AttributeEncoding sentinelAttrEnc() { in sentinelAttrEnc()
491 static bool isSentinel(const DWARFDebugNames::AttributeEncoding &AE) { in isSentinel()
495 static DWARFDebugNames::Abbrev sentinelAbbrev() { in sentinelAbbrev()
496 return DWARFDebugNames::Abbrev(0, dwarf::Tag(0), 0, {}); in sentinelAbbrev()
499 static bool isSentinel(const DWARFDebugNames::Abbrev &Abbr) { in isSentinel()
503 DWARFDebugNames::Abbrev DWARFDebugNames
[all...]
H A DDWARFVerifier.cpp1232 DWARFVerifier::verifyDebugNamesCULists(const DWARFDebugNames &AccelTable) { in verifyDebugNamesCULists()
1243 for (const DWARFDebugNames::NameIndex &NI : AccelTable) { in verifyDebugNamesCULists()
1288 DWARFVerifier::verifyNameIndexBuckets(const DWARFDebugNames::NameIndex &NI, in verifyNameIndexBuckets()
1410 const DWARFDebugNames::NameIndex &NI, const DWARFDebugNames::Abbrev &Abbr, in verifyNameIndexAttribute()
1411 DWARFDebugNames::AttributeEncoding AttrEnc) { in verifyNameIndexAttribute()
1490 DWARFVerifier::verifyNameIndexAbbrevs(const DWARFDebugNames::NameIndex &NI) { in verifyNameIndexAbbrevs()
1576 const DWARFDebugNames::NameIndex &NI, in verifyNameIndexEntries()
1577 const DWARFDebugNames::NameTableEntry &NTE) { in verifyNameIndexEntries()
1593 Expected<DWARFDebugNames in verifyNameIndexEntries()
[all...]
H A DDWARFContext.cpp264 std::unique_ptr<DWARFDebugNames> Names;
506 const DWARFDebugNames &getDebugNames() override { in getDebugMacroDWO()
708 const DWARFDebugNames &getDebugNames() override { in getDebugMacroDWO()
1466 const DWARFDebugNames &DWARFContext::getDebugNames() { in getDebugMacinfoDWO()
/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFVerifier.h271 unsigned verifyDebugNamesCULists(const DWARFDebugNames &AccelTable);
272 unsigned verifyNameIndexBuckets(const DWARFDebugNames::NameIndex &NI,
274 unsigned verifyNameIndexAbbrevs(const DWARFDebugNames::NameIndex &NI);
275 unsigned verifyNameIndexAttribute(const DWARFDebugNames::NameIndex &NI,
276 const DWARFDebugNames::Abbrev &Abbr,
277 DWARFDebugNames::AttributeEncoding AttrEnc);
278 unsigned verifyNameIndexEntries(const DWARFDebugNames::NameIndex &NI,
279 const DWARFDebugNames::NameTableEntry &NTE);
281 const DWARFDebugNames::NameIndex &NI);
H A DDWARFAcceleratorTable.h383 class DWARFDebugNames : public DWARFAcceleratorTable {
494 Expected<std::optional<DWARFDebugNames::Entry>> getParentDIEEntry() const;
602 const DWARFDebugNames &Section;
626 NameIndex(const DWARFDebugNames &Section, uint64_t Base) in NameIndex()
692 friend class DWARFDebugNames;
731 ValueIterator(const DWARFDebugNames &AccelTable, StringRef Key);
810 DWARFDebugNames(const DWARFDataExtractor &AccelSection, in DWARFDebugNames()
832 DWARFDebugNames::DWARFDebugNamesOffsets
834 const DWARFDebugNames::Header &Hdr);
691 friend class DWARFDebugNames; global() variable
809 DWARFDebugNames(const DWARFDataExtractor &AccelSection, DWARFDebugNames() function
H A DDWARFContext.h40 class DWARFDebugNames; variable
91 virtual const DWARFDebugNames &getDebugNames() = 0;
331 const DWARFDebugNames &getDebugNames();
/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
H A DDebugNamesDWARFIndex.h72 std::unique_ptr<llvm::DWARFDebugNames> debug_names_up, in DebugNamesDWARFIndex()
84 // LLVM DWARFDebugNames will hold a non-owning reference to this data, so keep
89 using DebugNames = llvm::DWARFDebugNames;
H A DDebugNamesDWARFIndex.cpp291 using Entry = llvm::DWARFDebugNames::Entry; in GetCompleteObjCClass()
/llvm-project/lld/ELF/
H A DSyntheticSections.h822 SmallVector<llvm::DWARFDebugNames::AttributeEncoding, 2> attributes;
862 llvm::DWARFDebugNames::Header hdr;
873 std::optional<llvm::DWARFDebugNames> llvmDebugNames;
896 uint32_t numCUs, const llvm::DWARFDebugNames::Header &hdr,
897 const llvm::DWARFDebugNames::DWARFDebugNamesOffsets &)>
907 llvm::DWARFDebugNames::Header hdr;
H A DSyntheticSections.cpp2824 readEntry(uint64_t &offset, const DWARFDebugNames::NameIndex &ni, in parseDebugNames()
2847 for (DWARFDebugNames::AttributeEncoding a : it->Attributes) { in parseDebugNames()
2900 uint32_t numCus, const DWARFDebugNames::Header &, in getMergedCuCountForm()
2901 const DWARFDebugNames::DWARFDebugNamesOffsets &)> in getMergedCuCountForm()
2907 for (const DWARFDebugNames::NameIndex &ni : *inputChunk.llvmDebugNames) { in getMergedCuCountForm()
2920 DWARFDebugNames::DWARFDebugNamesOffsets locs = ni.getOffsets(); in computeHdrAndAbbrevTable()
3026 for (const DWARFDebugNames::Abbrev &oldAbbrev : ni.getAbbrevs()) { in computeEntryPool()
3030 DWARFDebugNames::AttributeEncoding cuAttr(DW_IDX_compile_unit, in computeEntryPool()
3034 for (DWARFDebugNames::AttributeEncoding a : oldAbbrev.Attributes) { in computeEntryPool()
3070 for (DWARFDebugNames in computeEntryPool()
[all...]
/llvm-project/llvm/tools/llvm-dwarfdump/
H A Dllvm-dwarfdump.cpp464 static DWARFDie toDie(const DWARFDebugNames::Entry &Entry, in toDie()
485 static void getDies(DWARFContext &DICtx, const DWARFDebugNames &Accel, in getDies()