Lines Matching refs:DebugInfoPatcher

148 void DWARFRewriter::addStringHelper(DebugInfoBinaryPatcher &DebugInfoPatcher,  in addStringHelper()  argument
157 DebugInfoPatcher.addLE32Patch(AttrInfoVal.Offset, NewOffset, in addStringHelper()
166 auto *DebugInfoPatcher = in updateDebugInfo() local
244 addStringHelper(*DebugInfoPatcher, Unit, *AttrInfoVal, ObjectName.c_str()); in updateDebugInfo()
251 addStringHelper(*DebugInfoPatcher, Unit, *AttrInfoVal, in updateDebugInfo()
323 DebugInfoPatcher->addUnitBaseOffsetLabel(Unit->getOffset()); in updateDebugInfo()
324 updateUnitDebugInfo(*Unit, *DebugInfoPatcher, *AbbrevWriter, in updateDebugInfo()
326 DebugLocWriter->finalize(*DebugInfoPatcher, *AbbrevWriter); in updateDebugInfo()
345 DebugInfoPatcher->clearDestinationLabels(); in updateDebugInfo()
346 CUOffsetMap OffsetMap = finalizeDebugSections(*DebugInfoPatcher); in updateDebugInfo()
357 DWARFUnit &Unit, DebugInfoBinaryPatcher &DebugInfoPatcher, in updateUnitDebugInfo() argument
415 updateDWARFObjectAddressRanges(DIE, RangesSectionOffset, DebugInfoPatcher, in updateUnitDebugInfo()
450 DIE, RangesSectionWriter.addRanges(FunctionRanges), DebugInfoPatcher, in updateUnitDebugInfo()
479 updateDWARFObjectAddressRanges(DIE, RangesSectionOffset, DebugInfoPatcher, in updateUnitDebugInfo()
493 DebugInfoPatcher.addUDataPatch(AttrVal.Offset, Index, AttrVal.Size); in updateUnitDebugInfo()
617 DebugLocWriter.addList(*AttrVal, OutputLL, DebugInfoPatcher, in updateUnitDebugInfo()
654 DebugInfoPatcher.addUDataPatch(AttrOffset, Tmp.size() + 1, 1); in updateUnitDebugInfo()
655 DebugInfoPatcher.addUDataPatch(AttrOffset + PrevOffset + in updateUnitDebugInfo()
707 DebugInfoPatcher.addUDataPatch(AttrOffset, Index, AttrVal->Size); in updateUnitDebugInfo()
709 DebugInfoPatcher.addLE64Patch(AttrOffset, NewAddress); in updateUnitDebugInfo()
755 DebugInfoPatcher.addReferenceToPatch( in updateUnitDebugInfo()
758 DebugInfoPatcher.addDestinationReferenceLabel(DestinationAddress); in updateUnitDebugInfo()
772 SimpleBinaryPatcher &DebugInfoPatcher, DebugAbbrevWriter &AbbrevWriter, in updateDWARFObjectAddressRanges() argument
799 DebugInfoPatcher.addLE32Patch(RangesBaseAttrInfo->Offset, in updateDWARFObjectAddressRanges()
824 DebugInfoPatcher.addUDataPatch(AttrVal->Offset, DebugRangesOffset, in updateDWARFObjectAddressRanges()
827 DebugInfoPatcher.addLE32Patch( in updateDWARFObjectAddressRanges()
828 AttrVal->Offset, DebugRangesOffset - DebugInfoPatcher.getRangeBase(), in updateDWARFObjectAddressRanges()
835 DebugInfoPatcher.addLE64Patch(LowPCAttrInfo->Offset, 0); in updateDWARFObjectAddressRanges()
851 reinterpret_cast<DebugInfoBinaryPatcher &>(DebugInfoPatcher) in updateDWARFObjectAddressRanges()
864 convertToRangesPatchDebugInfo(DIE, DebugRangesOffset, DebugInfoPatcher, in updateDWARFObjectAddressRanges()
884 DebugInfoBinaryPatcher *DebugInfoPatcher = nullptr; in updateLineTableOffsets() local
887 DebugInfoPatcher = in updateLineTableOffsets()
924 DebugInfoPatcher->addLE32Patch(AttributeOffset, LineTableOffset); in updateLineTableOffsets()
952 DWARFRewriter::finalizeDebugSections(DebugInfoBinaryPatcher &DebugInfoPatcher) { in finalizeDebugSections() argument
989 makeFinalLocListsSection(DebugInfoPatcher, DWARFVersion::DWARF5); in finalizeDebugSections()
998 makeFinalLocListsSection(DebugInfoPatcher, DWARFVersion::DWARFLegacy); in finalizeDebugSections()
1039 DebugInfoPatcher.addLE32Patch(AttrOffset, static_cast<int32_t>(Offset), in finalizeDebugSections()
1048 DebugInfoPatcher.insertNewEntry(DIE, static_cast<int32_t>(Offset)); in finalizeDebugSections()
1082 DebugInfoPatcher.addLE32Patch(Unit->getOffset() + AbbrevOffset, in finalizeDebugSections()
1100 DebugInfoPatcher.computeNewOffsets(*BC.DwCtx.get(), false); in finalizeDebugSections()
1765 DebugInfoBinaryPatcher &DebugInfoPatcher, DWARFVersion Version) { in makeFinalLocListsSection() argument
1867 SimpleBinaryPatcher &DebugInfoPatcher, Optional<uint64_t> RangesBase) { in convertToRangesPatchDebugInfo() argument
1885 DebugInfoPatcher.addUDataPatch(LowPCOffset, 0, LowPCVal->Size); in convertToRangesPatchDebugInfo()
1887 BaseOffset = DebugInfoPatcher.getRangeBase(); in convertToRangesPatchDebugInfo()
1895 DebugInfoPatcher.addUDataPatch(LowPCOffset, Index, LowPCVal->Size); in convertToRangesPatchDebugInfo()
1897 DebugInfoPatcher.addLE64Patch(LowPCOffset, 0); in convertToRangesPatchDebugInfo()
1902 reinterpret_cast<DebugInfoBinaryPatcher &>(DebugInfoPatcher) in convertToRangesPatchDebugInfo()
1909 DebugInfoPatcher.addUDataPatch(HighPCOffset, RangesSectionOffset, in convertToRangesPatchDebugInfo()
1912 DebugInfoPatcher.addLE32Patch( in convertToRangesPatchDebugInfo()