|
LLVM
5.0.0
|
A helper struct for DWARFFormValue methods, providing information that allows it to know the byte size of DW_FORM values that vary in size depending on the DWARF version, address byte size, or DWARF32/DWARF64. More...
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
Public Member Functions | |
| uint8_t | getRefAddrByteSize () const |
| The definition of the size of form DW_FORM_ref_addr depends on the version. More... | |
| uint8_t | getDwarfOffsetByteSize () const |
| The size of a reference is determined by the DWARF 32/64-bit format. More... | |
Public Attributes | |
| uint16_t | Version |
| uint8_t | AddrSize |
| dwarf::DwarfFormat | Format |
A helper struct for DWARFFormValue methods, providing information that allows it to know the byte size of DW_FORM values that vary in size depending on the DWARF version, address byte size, or DWARF32/DWARF64.
Definition at line 28 of file DWARFFormValue.h.
|
inline |
The size of a reference is determined by the DWARF 32/64-bit format.
Definition at line 43 of file DWARFFormValue.h.
References llvm::dwarf::DWARF32, llvm::dwarf::DWARF64, Format, and llvm_unreachable().
Referenced by llvm::DWARFUnit::getDwarfOffsetByteSize(), llvm::DWARFFormValue::getFixedByteSize(), and getRefAddrByteSize().
|
inline |
The definition of the size of form DW_FORM_ref_addr depends on the version.
In DWARF v2 it's the size of an address; after that, it's the size of a reference.
Definition at line 36 of file DWARFFormValue.h.
References AddrSize, getDwarfOffsetByteSize(), and Version.
Referenced by llvm::DWARFFormValue::getFixedByteSize(), and llvm::DWARFUnit::getRefAddrByteSize().
| uint8_t llvm::DWARFFormParams::AddrSize |
Definition at line 30 of file DWARFFormValue.h.
Referenced by llvm::DWARFUnit::extractImpl(), llvm::DWARFUnit::getAddressByteSize(), llvm::DWARFDebugLine::Prologue::getAddressSize(), llvm::DWARFFormValue::getFixedByteSize(), and getRefAddrByteSize().
| dwarf::DwarfFormat llvm::DWARFFormParams::Format |
Definition at line 31 of file DWARFFormValue.h.
Referenced by llvm::DWARFUnit::extractImpl(), getDwarfOffsetByteSize(), llvm::DWARFUnit::getFormat(), and llvm::DWARFDebugLine::Prologue::isDWARF64().
| uint16_t llvm::DWARFFormParams::Version |
Definition at line 29 of file DWARFFormValue.h.
Referenced by llvm::DWARFUnit::extractImpl(), llvm::DWARFFormValue::getFixedByteSize(), getRefAddrByteSize(), llvm::DWARFDebugLine::Prologue::getVersion(), and llvm::DWARFUnit::getVersion().
1.8.6