Searched refs:toSectionOffset (Results 1 – 12 of 12) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/DebugInfo/DWARF/ |
| H A D | DWARFFormValue.h | 318 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 D | DWARFDebugInfoTest.cpp | 1646 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 D | DWARFUnit.cpp | 508 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 D | DWARFVerifier.cpp | 824 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 D | DWARFDebugMacro.cpp | 121 if (auto MacroOffset = toSectionOffset(CUDIE.find(DW_AT_macros))) in parseImpl()
|
| H A D | DWARFDie.cpp | 341 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 D | DWARFContext.cpp | 986 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 D | DWARFDebugLine.cpp | 1431 if (auto StmtOffset = toSectionOffset(CUDIE.find(DW_AT_stmt_list))) in buildLineToUnitMap()
|
| /llvm-project-15.0.7/bolt/lib/Core/ |
| H A D | BinaryEmitter.cpp | 1083 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 D | dwarf2yaml.cpp | 351 dwarf::toSectionOffset(CUDIE.find(dwarf::DW_AT_stmt_list))) { in dumpDebugLines()
|
| /llvm-project-15.0.7/bolt/lib/Rewrite/ |
| H A D | DWARFRewriter.cpp | 900 Optional<uint64_t> Offset = dwarf::toSectionOffset(StmtList); in updateLineTableOffsets()
|
| /llvm-project-15.0.7/llvm/lib/DWARFLinker/ |
| H A D | DWARFLinker.cpp | 1684 auto StmtList = dwarf::toSectionOffset(CUDie.find(dwarf::DW_AT_stmt_list)); in patchLineTableForUnit()
|