LLVM 20.0.0git
|
#include "llvm/ObjectYAML/DWARFYAML.h"
Classes | |
struct | AbbrevTableInfo |
Public Member Functions | |
bool | isEmpty () const |
SetVector< StringRef > | getNonEmptySectionNames () const |
Expected< AbbrevTableInfo > | getAbbrevTableInfoByID (uint64_t ID) const |
StringRef | getAbbrevTableContentByIndex (uint64_t Index) const |
Public Attributes | |
bool | IsLittleEndian |
bool | Is64BitAddrSize |
std::vector< AbbrevTable > | DebugAbbrev |
std::optional< std::vector< StringRef > > | DebugStrings |
std::optional< std::vector< StringOffsetsTable > > | DebugStrOffsets |
std::optional< std::vector< ARange > > | DebugAranges |
std::optional< std::vector< Ranges > > | DebugRanges |
std::optional< std::vector< AddrTableEntry > > | DebugAddr |
std::optional< PubSection > | PubNames |
std::optional< PubSection > | PubTypes |
std::optional< PubSection > | GNUPubNames |
std::optional< PubSection > | GNUPubTypes |
std::vector< Unit > | Units |
std::vector< LineTable > | DebugLines |
std::optional< std::vector< ListTable< RnglistEntry > > > | DebugRnglists |
std::optional< std::vector< ListTable< LoclistEntry > > > | DebugLoclists |
std::optional< DebugNamesSection > | DebugNames |
Definition at line 236 of file DWARFYAML.h.
Definition at line 97 of file DWARFEmitter.cpp.
References assert(), DebugAbbrev, llvm::encodeSLEB128(), llvm::encodeULEB128(), OS, llvm::raw_ostream::write(), and llvm::raw_ostream::write_zeros().
Referenced by llvm::DWARFYAML::emitDebugAbbrev().
Expected< DWARFYAML::Data::AbbrevTableInfo > llvm::DWARFYAML::Data::getAbbrevTableInfoByID | ( | uint64_t | ID | ) | const |
Definition at line 61 of file DWARFYAML.cpp.
References llvm::createStringError(), llvm::dwarf_linker::DebugAbbrev, llvm::enumerate(), llvm::DWARFYAML::AbbrevTable::ID, and llvm::invalid_argument.
Referenced by llvm::DWARFYAML::emitDebugInfo(), and writeDIE().
Definition at line 25 of file DWARFYAML.cpp.
References llvm::dwarf_linker::DebugAbbrev, llvm::dwarf_linker::DebugAddr, llvm::dwarf_linker::DebugNames, llvm::dwarf_linker::DebugStrOffsets, and llvm::SetVector< T, Vector, Set, N >::insert().
Referenced by llvm::DWARFYAML::emitDebugSections(), isEmpty(), and shouldEmitDWARF().
bool llvm::DWARFYAML::Data::isEmpty | ( | ) | const |
Definition at line 21 of file DWARFYAML.cpp.
References getNonEmptySectionNames().
std::vector<AbbrevTable> llvm::DWARFYAML::Data::DebugAbbrev |
Definition at line 239 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugAbbrev(), getAbbrevTableContentByIndex(), and writeDIE().
std::optional<std::vector<AddrTableEntry> > llvm::DWARFYAML::Data::DebugAddr |
Definition at line 244 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugAddr().
std::optional<std::vector<ARange> > llvm::DWARFYAML::Data::DebugAranges |
Definition at line 242 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugAranges().
std::vector<LineTable> llvm::DWARFYAML::Data::DebugLines |
Definition at line 253 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugLine().
std::optional<std::vector<ListTable<LoclistEntry> > > llvm::DWARFYAML::Data::DebugLoclists |
Definition at line 255 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugLoclists().
std::optional<DebugNamesSection> llvm::DWARFYAML::Data::DebugNames |
Definition at line 256 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugNames().
std::optional<std::vector<Ranges> > llvm::DWARFYAML::Data::DebugRanges |
Definition at line 243 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugRanges().
std::optional<std::vector<ListTable<RnglistEntry> > > llvm::DWARFYAML::Data::DebugRnglists |
Definition at line 254 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugRnglists().
std::optional<std::vector<StringRef> > llvm::DWARFYAML::Data::DebugStrings |
Definition at line 240 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugStr().
std::optional<std::vector<StringOffsetsTable> > llvm::DWARFYAML::Data::DebugStrOffsets |
Definition at line 241 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugStrOffsets().
std::optional<PubSection> llvm::DWARFYAML::Data::GNUPubNames |
Definition at line 248 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugGNUPubnames().
std::optional<PubSection> llvm::DWARFYAML::Data::GNUPubTypes |
Definition at line 249 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugGNUPubtypes().
bool llvm::DWARFYAML::Data::Is64BitAddrSize |
Definition at line 238 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugAddr(), llvm::DWARFYAML::emitDebugAranges(), llvm::DWARFYAML::emitDebugInfo(), llvm::DWARFYAML::emitDebugLine(), llvm::DWARFYAML::emitDebugLoclists(), llvm::DWARFYAML::emitDebugRanges(), llvm::DWARFYAML::emitDebugRnglists(), and llvm::DWARFYAML::emitDebugSections().
bool llvm::DWARFYAML::Data::IsLittleEndian |
Definition at line 237 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugAddr(), llvm::DWARFYAML::emitDebugAranges(), llvm::DWARFYAML::emitDebugGNUPubnames(), llvm::DWARFYAML::emitDebugGNUPubtypes(), llvm::DWARFYAML::emitDebugInfo(), llvm::DWARFYAML::emitDebugLine(), llvm::DWARFYAML::emitDebugLoclists(), llvm::DWARFYAML::emitDebugNames(), llvm::DWARFYAML::emitDebugPubnames(), llvm::DWARFYAML::emitDebugPubtypes(), llvm::DWARFYAML::emitDebugRanges(), llvm::DWARFYAML::emitDebugRnglists(), llvm::DWARFYAML::emitDebugSections(), and llvm::DWARFYAML::emitDebugStrOffsets().
std::optional<PubSection> llvm::DWARFYAML::Data::PubNames |
Definition at line 245 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugPubnames().
std::optional<PubSection> llvm::DWARFYAML::Data::PubTypes |
Definition at line 246 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugPubtypes().
std::vector<Unit> llvm::DWARFYAML::Data::Units |
Definition at line 251 of file DWARFYAML.h.
Referenced by llvm::DWARFYAML::emitDebugInfo().