LLVM API Documentation
#include <DWARFTypeUnit.h>
Public Member Functions | |
DWARFTypeUnit (DWARFContext &Context, const DWARFDebugAbbrev *DA, StringRef IS, StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, const RelocAddrMap *M, bool LE, const DWARFUnitSectionBase &UnitSection) | |
uint32_t | getHeaderSize () const override |
Size in bytes of the unit header. | |
void | dump (raw_ostream &OS) |
Protected Member Functions | |
bool | extractImpl (DataExtractor debug_info, uint32_t *offset_ptr) override |
Definition at line 17 of file DWARFTypeUnit.h.
llvm::DWARFTypeUnit::DWARFTypeUnit | ( | DWARFContext & | Context, |
const DWARFDebugAbbrev * | DA, | ||
StringRef | IS, | ||
StringRef | RS, | ||
StringRef | SS, | ||
StringRef | SOS, | ||
StringRef | AOS, | ||
const RelocAddrMap * | M, | ||
bool | LE, | ||
const DWARFUnitSectionBase & | UnitSection | ||
) | [inline] |
Definition at line 22 of file DWARFTypeUnit.h.
void DWARFTypeUnit::dump | ( | raw_ostream & | OS | ) |
Definition at line 25 of file DWARFTypeUnit.cpp.
References llvm::DWARFDebugInfoEntryMinimal::dump(), llvm::format(), llvm::DWARFUnit::getAbbreviations(), llvm::DWARFUnit::getAddressByteSize(), llvm::DWARFUnit::getCompileUnitDIE(), llvm::DWARFUnit::getLength(), llvm::DWARFUnit::getNextUnitOffset(), llvm::DWARFUnit::getOffset(), and llvm::DWARFUnit::getVersion().
bool DWARFTypeUnit::extractImpl | ( | DataExtractor | debug_info, |
uint32_t * | offset_ptr | ||
) | [override, protected, virtual] |
Reimplemented from llvm::DWARFUnit.
Definition at line 16 of file DWARFTypeUnit.cpp.
References llvm::DWARFUnit::extractImpl(), llvm::DWARFUnit::getLength(), llvm::DataExtractor::getU32(), and llvm::DataExtractor::getU64().
uint32_t llvm::DWARFTypeUnit::getHeaderSize | ( | ) | const [inline, override, virtual] |
Size in bytes of the unit header.
Reimplemented from llvm::DWARFUnit.
Definition at line 27 of file DWARFTypeUnit.h.