LLVM API Documentation
#include <DWARFCompileUnit.h>
Public Member Functions | |
DWARFCompileUnit (const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS, StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, const RelocAddrMap *M, bool LE) | |
void | dump (raw_ostream &OS) |
~DWARFCompileUnit () LLVM_OVERRIDE | |
![]() | |
DWARFUnit (const DWARFDebugAbbrev *DA, StringRef IS, StringRef AS, StringRef RS, StringRef SS, StringRef SOS, StringRef AOS, const RelocAddrMap *M, bool LE) | |
virtual | ~DWARFUnit () |
StringRef | getStringSection () const |
StringRef | getStringOffsetSection () const |
void | setAddrOffsetSection (StringRef AOS, uint32_t Base) |
void | setRangesSection (StringRef RS, uint32_t Base) |
bool | getAddrOffsetSectionItem (uint32_t Index, uint64_t &Result) const |
bool | getStringOffsetSectionItem (uint32_t Index, uint32_t &Result) const |
DataExtractor | getDebugInfoExtractor () const |
DataExtractor | getStringExtractor () const |
const RelocAddrMap * | getRelocMap () const |
bool | extract (DataExtractor debug_info, uint32_t *offset_ptr) |
bool | extractRangeList (uint32_t RangeListOffset, DWARFDebugRangeList &RangeList) const |
void | clear () |
uint32_t | getOffset () const |
virtual uint32_t | getSize () const |
Size in bytes of the compile unit header. More... | |
uint32_t | getFirstDIEOffset () const |
uint32_t | getNextUnitOffset () const |
size_t | getDebugInfoSize () const |
Size in bytes of the .debug_info data associated with this compile unit. More... | |
uint32_t | getLength () const |
uint16_t | getVersion () const |
const DWARFAbbreviationDeclarationSet * | getAbbreviations () const |
uint8_t | getAddressByteSize () const |
uint64_t | getBaseAddress () const |
void | setBaseAddress (uint64_t base_addr) |
const DWARFDebugInfoEntryMinimal * | getCompileUnitDIE (bool extract_cu_die_only=true) |
const char * | getCompilationDir () |
uint64_t | getDWOId () |
void | buildAddressRangeTable (DWARFDebugAranges *debug_aranges, bool clear_dies_if_already_not_parsed, uint32_t CUOffsetInAranges) |
DWARFDebugInfoEntryInlinedChain | getInlinedChainForAddress (uint64_t Address) |
Additional Inherited Members | |
![]() | |
virtual bool | extractImpl (DataExtractor debug_info, uint32_t *offset_ptr) |
Definition at line 17 of file DWARFCompileUnit.h.
|
inline |
Definition at line 19 of file DWARFCompileUnit.h.
DWARFCompileUnit::~DWARFCompileUnit | ( | ) |
Definition at line 31 of file DWARFCompileUnit.cpp.
void DWARFCompileUnit::dump | ( | raw_ostream & | OS | ) |
Definition at line 16 of file DWARFCompileUnit.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().