Home
last modified time | relevance | path

Searched refs:DebugLocWriter (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/bolt/include/bolt/Rewrite/
H A DDWARFRewriter.h67 using LocWriters = std::map<uint64_t, std::unique_ptr<DebugLocWriter>>;
99 DebugLocWriter &DebugLocWriter,
234 DebugLocWriter *getDebugLocWriter(uint64_t DWOId) { in getDebugLocWriter()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DDebugData.h476 enum class LocWriterKind { DebugLocWriter, DebugLoclistWriter }; enumerator
480 class DebugLocWriter {
482 DebugLocWriter(uint8_t DwarfVersion, LocWriterKind Kind) in DebugLocWriter() function
488 DebugLocWriter() { init(); }; in DebugLocWriter() function
489 virtual ~DebugLocWriter(){}; in ~DebugLocWriter()
511 static bool classof(const DebugLocWriter *Writer) { in classof()
512 return Writer->getKind() == LocWriterKind::DebugLocWriter; in classof()
524 LocWriterKind Kind{LocWriterKind::DebugLocWriter};
540 class DebugLoclistWriter : public DebugLocWriter {
579 LocWriterKind getKind() const { return DebugLocWriter::getKind(); } in getKind()
[all …]
/llvm-project-15.0.7/bolt/lib/Rewrite/
H A DDWARFRewriter.cpp211 LocListWritersByCU[CUIndex] = std::make_unique<DebugLocWriter>(); in updateDebugInfo()
267 DebugLocWriter *DebugLocWriter = nullptr; in updateDebugInfo() local
285 DebugLocWriter = LocListWritersByCU[*DWOId].get(); in updateDebugInfo()
301 *DebugLocWriter, *TempRangesSectionWriter); in updateDebugInfo()
302 DebugLocWriter->finalize(*DwoDebugInfoPatcher, *DWOAbbrevWriter); in updateDebugInfo()
314 DebugLocWriter = LocListWriterIter->second.get(); in updateDebugInfo()
326 DebugLocWriter->finalize(*DebugInfoPatcher, *AbbrevWriter); in updateDebugInfo()
358 DebugAbbrevWriter &AbbrevWriter, DebugLocWriter &DebugLocWriter, in updateUnitDebugInfo() argument
617 DebugLocWriter.addList(*AttrVal, OutputLL, DebugInfoPatcher, in updateUnitDebugInfo()
1233 DebugLocWriter *LocWriter = Writer.getDebugLocWriter(DWOId); in updateDebugData()
[all …]
/llvm-project-15.0.7/bolt/lib/Core/
H A DDebugData.cpp498 void DebugLocWriter::init() { in init()
510 uint32_t DebugLocWriter::LocSectionOffset = 0;
511 void DebugLocWriter::addList(AttrInfo &AttrVal, DebugLocationsVector &LocList, in addList()
516 DebugInfoPatcher.addLE32Patch(AttrOffset, DebugLocWriter::EmptyListOffset); in addList()
540 std::unique_ptr<DebugBufferVector> DebugLocWriter::getBuffer() { in getBuffer()
545 void DebugLocWriter::finalize(DebugInfoBinaryPatcher &DebugInfoPatcher, in finalize()
567 DebugInfoPatcher.addLE32Patch(AttrOffset, DebugLocWriter::EmptyListOffset); in writeLegacyLocList()