LLVM 20.0.0git
|
Represents structure for holding and parsing .debug_pub* tables. More...
#include "llvm/DebugInfo/DWARF/DWARFDebugPubTable.h"
Classes | |
struct | Entry |
struct | Set |
Each table consists of sets of variable length entries. More... | |
Public Member Functions | |
DWARFDebugPubTable ()=default | |
void | extract (DWARFDataExtractor Data, bool GnuStyle, function_ref< void(Error)> RecoverableErrorHandler) |
void | dump (raw_ostream &OS) const |
ArrayRef< Set > | getData () |
Represents structure for holding and parsing .debug_pub* tables.
Definition at line 26 of file DWARFDebugPubTable.h.
|
default |
void DWARFDebugPubTable::dump | ( | raw_ostream & | OS | ) | const |
Definition at line 93 of file DWARFDebugPubTable.cpp.
References llvm::StringRef::data(), llvm::DWARFDebugPubTable::Entry::Descriptor, llvm::format(), llvm::dwarf::FormatString(), llvm::dwarf::GDBIndexEntryKindString(), llvm::dwarf::GDBIndexEntryLinkageString(), llvm::dwarf::getDwarfOffsetByteSize(), llvm::dwarf::PubIndexEntryDescriptor::Kind, llvm::dwarf::PubIndexEntryDescriptor::Linkage, llvm::DWARFDebugPubTable::Entry::Name, OS, and llvm::DWARFDebugPubTable::Entry::SecOffset.
Referenced by dumpPubTableSection().
void DWARFDebugPubTable::extract | ( | DWARFDataExtractor | Data, |
bool | GnuStyle, | ||
function_ref< void(Error)> | RecoverableErrorHandler | ||
) |
Definition at line 22 of file DWARFDebugPubTable.cpp.
References llvm::CallingConv::C, llvm::createStringError(), llvm::Data, llvm::DWARFDebugPubTable::Set::Entries, llvm::DWARFDebugPubTable::Set::Format, llvm::DataExtractor::getCStrRef(), llvm::dwarf::getDwarfOffsetByteSize(), llvm::DWARFDataExtractor::getRelocatedValue(), llvm::DataExtractor::getU16(), llvm::DataExtractor::getU8(), llvm::DataExtractor::getUnsigned(), llvm::invalid_argument, llvm::DWARFDebugPubTable::Set::Length, Name, llvm::DWARFDebugPubTable::Set::Offset, llvm::Offset, llvm::DWARFDebugPubTable::Set::Size, llvm::dwarf::toString(), and llvm::DWARFDebugPubTable::Set::Version.
Referenced by dumpPubTableSection().
Definition at line 82 of file DWARFDebugPubTable.h.