LLVM 20.0.0git
|
Classes | |
struct | Abbrev |
struct | AbbrevTable |
struct | AddrTableEntry |
struct | ARange |
struct | ARangeDescriptor |
struct | AttributeAbbrev |
struct | Data |
struct | DebugNameAbbreviation |
struct | DebugNameEntry |
struct | DebugNamesSection |
struct | DWARFContext |
Class that contains helpful context information when mapping YAML into DWARF data structures. More... | |
struct | DWARFOperation |
struct | Entry |
struct | File |
struct | FormValue |
struct | IdxForm |
struct | LineTable |
struct | LineTableOpcode |
struct | ListEntries |
struct | ListTable |
struct | LoclistEntry |
struct | PubEntry |
struct | PubSection |
struct | RangeEntry |
Class that describes a range list entry, or a base address selection entry within a range list in the .debug_ranges section. More... | |
struct | Ranges |
Class that describes a single range list inside the .debug_ranges section. More... | |
struct | RnglistEntry |
struct | SegAddrPair |
struct | StringOffsetsTable |
struct | Unit |
Error llvm::DWARFYAML::emitDebugAbbrev | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 131 of file DWARFEmitter.cpp.
References llvm::StringRef::data(), llvm::DWARFYAML::Data::DebugAbbrev, llvm::DWARFYAML::Data::getAbbrevTableContentByIndex(), I, OS, llvm::StringRef::size(), llvm::Error::success(), and llvm::raw_ostream::write().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugAddr | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 661 of file DWARFEmitter.cpp.
References llvm::DWARFYAML::SegAddrPair::Address, llvm::DWARFYAML::AddrTableEntry::AddrSize, llvm::c_str(), llvm::createStringError(), llvm::DWARFYAML::Data::DebugAddr, llvm::DWARFYAML::AddrTableEntry::Format, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, llvm::DWARFYAML::AddrTableEntry::Length, llvm::Length, llvm::not_supported, OS, llvm::DWARFYAML::AddrTableEntry::SegAddrPairs, llvm::DWARFYAML::SegAddrPair::Segment, llvm::DWARFYAML::AddrTableEntry::SegSelectorSize, llvm::Error::success(), llvm::toString(), llvm::DWARFYAML::AddrTableEntry::Version, writeInitialLength(), writeInteger(), and writeVariableSizedInteger().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugAranges | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 140 of file DWARFEmitter.cpp.
References llvm::alignTo(), assert(), llvm::c_str(), llvm::cantFail(), llvm::createStringError(), llvm::DWARFYAML::Data::DebugAranges, llvm::dwarf::DWARF64, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, llvm::Length, llvm::not_supported, OS, Range, llvm::Error::success(), llvm::toString(), writeDWARFOffset(), writeInitialLength(), writeInteger(), writeVariableSizedInteger(), and ZeroFillBytes().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugGNUPubnames | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 252 of file DWARFEmitter.cpp.
References assert(), emitPubSection(), llvm::DWARFYAML::Data::GNUPubNames, llvm::DWARFYAML::Data::IsLittleEndian, and OS.
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugGNUPubtypes | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 258 of file DWARFEmitter.cpp.
References assert(), emitPubSection(), llvm::DWARFYAML::Data::GNUPubTypes, llvm::DWARFYAML::Data::IsLittleEndian, and OS.
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugInfo | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 406 of file DWARFEmitter.cpp.
References llvm::DWARFYAML::Unit::AbbrevTableID, llvm::DWARFYAML::Unit::AbbrOffset, llvm::DWARFYAML::Unit::AddrSize, llvm::consumeError(), llvm::DWARFYAML::Unit::Entries, llvm::DWARFYAML::Unit::Format, llvm::DWARFYAML::Data::getAbbrevTableInfoByID(), llvm::dwarf::FormParams::getDwarfOffsetByteSize(), I, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, llvm::DWARFYAML::Unit::Length, llvm::Length, OS, llvm::Error::success(), llvm::DWARFYAML::Unit::Type, llvm::DWARFYAML::Unit::TypeOffset, llvm::DWARFYAML::Unit::TypeSignatureOrDwoID, llvm::DWARFYAML::Data::Units, llvm::DWARFYAML::Unit::Version, llvm::raw_ostream::write(), writeDIE(), writeDWARFOffset(), writeInitialLength(), and writeInteger().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugLine | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 600 of file DWARFEmitter.cpp.
References llvm::StringRef::data(), llvm::DWARFYAML::Data::DebugLines, llvm::DWARFYAML::LineTable::DefaultIsStmt, llvm::dwarf::DWARF64, emitFileEntry(), llvm::DWARFYAML::LineTable::Files, llvm::DWARFYAML::LineTable::Format, getStandardOpcodeLengths(), llvm::DWARFYAML::LineTable::IncludeDirs, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, llvm::DWARFYAML::LineTable::Length, llvm::Length, llvm::DWARFYAML::LineTable::LineBase, llvm::DWARFYAML::LineTable::LineRange, llvm::DWARFYAML::LineTable::MaxOpsPerInst, llvm::DWARFYAML::LineTable::MinInstLength, llvm::DWARFYAML::LineTable::OpcodeBase, llvm::DWARFYAML::LineTable::Opcodes, OS, llvm::DWARFYAML::LineTable::PrologueLength, llvm::StringRef::size(), llvm::DWARFYAML::LineTable::StandardOpcodeLengths, llvm::Error::success(), llvm::DWARFYAML::LineTable::Version, llvm::raw_ostream::write(), writeDWARFOffset(), writeInitialLength(), writeInteger(), and writeLineTableOpcode().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugLoclists | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 1219 of file DWARFEmitter.cpp.
References assert(), llvm::DWARFYAML::Data::DebugLoclists, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, and OS.
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugNames | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 877 of file DWARFEmitter.cpp.
References assert(), llvm::dwarf_linker::DebugNames, llvm::DWARFYAML::Data::DebugNames, llvm::DWARFYAML::Data::IsLittleEndian, OS, llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::size(), llvm::Error::success(), llvm::Expected< T >::takeError(), and llvm::raw_ostream::write().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugPubnames | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 242 of file DWARFEmitter.cpp.
References assert(), emitPubSection(), llvm::DWARFYAML::Data::IsLittleEndian, OS, and llvm::DWARFYAML::Data::PubNames.
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugPubtypes | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 247 of file DWARFEmitter.cpp.
References assert(), emitPubSection(), llvm::DWARFYAML::Data::IsLittleEndian, OS, and llvm::DWARFYAML::Data::PubTypes.
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugRanges | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 189 of file DWARFEmitter.cpp.
References llvm::c_str(), llvm::cantFail(), llvm::createStringError(), llvm::DWARFYAML::Data::DebugRanges, llvm::invalid_argument, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, llvm::not_supported, OS, llvm::Error::success(), llvm::raw_ostream::tell(), llvm::toString(), llvm::Twine::utohexstr(), writeVariableSizedInteger(), and ZeroFillBytes().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugRnglists | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 1213 of file DWARFEmitter.cpp.
References assert(), llvm::DWARFYAML::Data::DebugRnglists, llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, and OS.
Referenced by getDWARFEmitterByName().
Expected< StringMap< std::unique_ptr< MemoryBuffer > > > llvm::DWARFYAML::emitDebugSections | ( | StringRef | YAMLString, |
bool | IsLittleEndian = sys::IsLittleEndianHost , |
||
bool | Is64BitAddrSize = true |
||
) |
Definition at line 1271 of file DWARFEmitter.cpp.
References llvm::createStringError(), emitDebugSectionImpl(), llvm::SMDiagnostic::getMessage(), llvm::DWARFYAML::Data::getNonEmptySectionNames(), llvm::DWARFYAML::Data::Is64BitAddrSize, llvm::DWARFYAML::Data::IsLittleEndian, llvm::joinErrors(), and llvm::Error::success().
Error llvm::DWARFYAML::emitDebugStr | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 87 of file DWARFEmitter.cpp.
References llvm::DWARFYAML::Data::DebugStrings, OS, llvm::Error::success(), and llvm::raw_ostream::write().
Referenced by getDWARFEmitterByName().
Error llvm::DWARFYAML::emitDebugStrOffsets | ( | raw_ostream & | OS, |
const Data & | DI | ||
) |
Definition at line 702 of file DWARFEmitter.cpp.
References assert(), llvm::DWARFYAML::Data::DebugStrOffsets, llvm::dwarf::DWARF64, llvm::DWARFYAML::StringOffsetsTable::Format, llvm::DWARFYAML::Data::IsLittleEndian, llvm::DWARFYAML::StringOffsetsTable::Length, llvm::Length, llvm::Offset, llvm::DWARFYAML::StringOffsetsTable::Offsets, OS, llvm::DWARFYAML::StringOffsetsTable::Padding, llvm::Error::success(), llvm::DWARFYAML::StringOffsetsTable::Version, writeDWARFOffset(), writeInitialLength(), and writeInteger().
Referenced by getDWARFEmitterByName().
std::function< Error(raw_ostream &, const DWARFYAML::Data &)> llvm::DWARFYAML::getDWARFEmitterByName | ( | StringRef | SecName | ) |
Definition at line 1226 of file DWARFEmitter.cpp.
References llvm::createStringError(), emitDebugAbbrev(), emitDebugAddr(), emitDebugAranges(), emitDebugGNUPubnames(), emitDebugGNUPubtypes(), emitDebugInfo(), emitDebugLine(), emitDebugLoclists(), emitDebugNames(), emitDebugPubnames(), emitDebugPubtypes(), emitDebugRanges(), emitDebugRnglists(), emitDebugStr(), emitDebugStrOffsets(), and llvm::not_supported.
Referenced by emitDebugSectionImpl(), and emitDWARF().