LLVM: llvm::dwarf::FormParams Struct Reference (original) (raw)
A helper struct providing information about 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/BinaryFormat/Dwarf.h](Dwarf%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| uint8_t | getRefAddrByteSize () const |
| The definition of the size of form DW_FORM_ref_addr depends on the version. | |
| uint8_t | getDwarfOffsetByteSize () const |
| The size of a reference is determined by the DWARF 32/64-bit format. | |
| uint64_t | getDwarfMaxOffset () const |
| operator bool () const |
| Public Attributes | |
|---|---|
| uint16_t | Version |
| uint8_t | AddrSize |
| DwarfFormat | Format |
| bool | DwarfUsesRelocationsAcrossSections = false |
| True if DWARF v2 output generally uses relocations for references to other .debug_* sections. |
A helper struct providing information about 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 1110 of file Dwarf.h.
◆ getDwarfMaxOffset()
| uint64_t llvm::dwarf::FormParams::getDwarfMaxOffset ( ) const | inline |
|---|
◆ getDwarfOffsetByteSize()
| uint8_t llvm::dwarf::FormParams::getDwarfOffsetByteSize ( ) const | inline |
|---|
The size of a reference is determined by the DWARF 32/64-bit format.
Definition at line 1128 of file Dwarf.h.
References Format, and llvm::dwarf::getDwarfOffsetByteSize().
Referenced by llvm::dwarf_linker::parallel::CompileUnit::cloneDieAttrExpression(), llvm::dwarf_linker::parallel::DebugLineSectionEmitter::emit(), llvm::DWARFYAML::emitDebugInfo(), llvm::dwarf_linker::parallel::DwarfUnit::emitDebugStringOffsetSection(), llvm::dwarf_linker::parallel::DwarfUnit::emitPubAccelerators(), getDwarfMaxOffset(), llvm::dwarf::getFixedFormByteSize(), getRefAddrByteSize(), llvm::DIEDelta::sizeOf(), llvm::DIEExpr::sizeOf(), llvm::DIELabel::sizeOf(), llvm::DIELocList::sizeOf(), and writeDIE().
◆ getRefAddrByteSize()
| uint8_t llvm::dwarf::FormParams::getRefAddrByteSize ( ) const | inline |
|---|
◆ operator bool()
| llvm::dwarf::FormParams::operator bool ( ) const | inlineexplicit |
|---|
◆ AddrSize
uint8_t llvm::dwarf::FormParams::AddrSize
◆ DwarfUsesRelocationsAcrossSections
bool llvm::dwarf::FormParams::DwarfUsesRelocationsAcrossSections = false
◆ Format
◆ Version
uint16_t llvm::dwarf::FormParams::Version
The documentation for this struct was generated from the following file:
- include/llvm/BinaryFormat/Dwarf.h