Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFFormValue.h318 inline Optional<uint64_t> toSectionOffset(const Optional<DWARFFormValue> &V) { in toSectionOffset() function
330 inline uint64_t toSectionOffset(const Optional<DWARFFormValue> &V, in toSectionOffset() function
332 return toSectionOffset(V).value_or(Default); in toSectionOffset()
/llvm-project-15.0.7/llvm/unittests/DebugInfo/DWARF/
H A DDWARFDebugInfoTest.cpp1646 EXPECT_FALSE(toSectionOffset(FormValOpt1).has_value());
1652 EXPECT_EQ(InvalidU64, toSectionOffset(FormValOpt1, InvalidU64));
1665 EXPECT_FALSE(toSectionOffset(FormValOpt2).has_value());
1671 EXPECT_EQ(InvalidU64, toSectionOffset(FormValOpt2, InvalidU64));
1684 EXPECT_FALSE(toSectionOffset(FormValOpt3).has_value());
1690 EXPECT_EQ(InvalidU64, toSectionOffset(FormValOpt3, InvalidU64));
1703 EXPECT_FALSE(toSectionOffset(FormValOpt4).has_value());
1709 EXPECT_EQ(InvalidU64, toSectionOffset(FormValOpt4, InvalidU64));
1722 EXPECT_FALSE(toSectionOffset(FormValOpt5).has_value());
1728 EXPECT_EQ(InvalidU64, toSectionOffset(FormValOpt5, InvalidU64));
[all …]
/llvm-project-15.0.7/llvm/lib/DebugInfo/DWARF/
H A DDWARFUnit.cpp508 AddrOffsetSectionBase = toSectionOffset(UnitDie.find(DW_AT_addr_base)); in tryExtractDIEsIfNeeded()
511 toSectionOffset(UnitDie.find(DW_AT_GNU_addr_base)); in tryExtractDIEsIfNeeded()
512 RangeSectionBase = toSectionOffset(UnitDie.find(DW_AT_rnglists_base), 0); in tryExtractDIEsIfNeeded()
513 LocSectionBase = toSectionOffset(UnitDie.find(DW_AT_loclists_base), 0); in tryExtractDIEsIfNeeded()
553 toSectionOffset(UnitDie.find(DW_AT_rnglists_base), in tryExtractDIEsIfNeeded()
1077 auto OptOffset = toSectionOffset(getUnitDIE().find(DW_AT_str_offsets_base)); in determineStringOffsetsTableContribution()
H A DDWARFVerifier.cpp824 auto StmtSectionOffset = toSectionOffset(Die.find(DW_AT_stmt_list)); in verifyDebugLineStmtOffsets()
879 *toSectionOffset(Die.find(DW_AT_stmt_list))) in verifyDebugLineRows()
898 *toSectionOffset(Die.find(DW_AT_stmt_list))) in verifyDebugLineRows()
915 *toSectionOffset(Die.find(DW_AT_stmt_list))) in verifyDebugLineRows()
932 *toSectionOffset(Die.find(DW_AT_stmt_list))) in verifyDebugLineRows()
H A DDWARFDebugMacro.cpp121 if (auto MacroOffset = toSectionOffset(CUDIE.find(DW_AT_macros))) in parseImpl()
H A DDWARFDie.cpp341 return toSectionOffset(find({DW_AT_rnglists_base, DW_AT_GNU_ranges_base})); in getRangesBaseAttribute()
345 return toSectionOffset(find(DW_AT_loclists_base)); in getLocBaseAttribute()
H A DDWARFContext.cpp986 auto Offset = toSectionOffset(UnitDIE.find(DW_AT_stmt_list)); in getLineTableForUnit()
1014 auto Offset = toSectionOffset(UnitDIE.find(DW_AT_stmt_list)); in clearLineTableForUnit()
H A DDWARFDebugLine.cpp1431 if (auto StmtOffset = toSectionOffset(CUDIE.find(DW_AT_stmt_list))) in buildLineToUnitMap()
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryEmitter.cpp1083 auto StmtList = dwarf::toSectionOffset(CUDie.find(dwarf::DW_AT_stmt_list)); in emitDebugLineInfoForUnprocessedCUs()
1097 auto StmtList = dwarf::toSectionOffset(CUDie.find(dwarf::DW_AT_stmt_list)); in emitDebugLineInfoForUnprocessedCUs()
/llvm-project-15.0.7/llvm/tools/obj2yaml/
H A Ddwarf2yaml.cpp351 dwarf::toSectionOffset(CUDIE.find(dwarf::DW_AT_stmt_list))) { in dumpDebugLines()
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp900 Optional<uint64_t> Offset = dwarf::toSectionOffset(StmtList); in updateLineTableOffsets()
/llvm-project-15.0.7/llvm/lib/DWARFLinker/
H A DDWARFLinker.cpp1684 auto StmtList = dwarf::toSectionOffset(CUDie.find(dwarf::DW_AT_stmt_list)); in patchLineTableForUnit()