struct StrOffsetsContributionDescriptor
Declaration
struct StrOffsetsContributionDescriptor { /* full declaration omitted */ };
Description
Represents base address of the CU. Represents a unit's contribution to the string offsets table.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:170
Member Variables
- public uint64_t Base = 0
- public uint64_t Size = 0
- The contribution size not including the header.
- public dwarf::FormParams FormParams = {0, 0, dwarf::DwarfFormat::DWARF32}
- Format and version.
Method Overview
- public StrOffsetsContributionDescriptor(uint64_t Base, uint64_t Size, uint8_t Version, dwarf::DwarfFormat Format)
- public StrOffsetsContributionDescriptor()
- public uint8_t getDwarfOffsetByteSize() const
- public dwarf::DwarfFormat getFormat() const
- public uint8_t getVersion() const
- public Expected<llvm::StrOffsetsContributionDescriptor> validateContributionSize(llvm::DWARFDataExtractor & DA)
Methods
¶StrOffsetsContributionDescriptor(
uint64_t Base,
uint64_t Size,
uint8_t Version,
dwarf::DwarfFormat Format)
StrOffsetsContributionDescriptor(
uint64_t Base,
uint64_t Size,
uint8_t Version,
dwarf::DwarfFormat Format)
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:177
Parameters
- uint64_t Base
- uint64_t Size
- uint8_t Version
- dwarf::DwarfFormat Format
¶StrOffsetsContributionDescriptor()
StrOffsetsContributionDescriptor()
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:180
¶uint8_t getDwarfOffsetByteSize() const
uint8_t getDwarfOffsetByteSize() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:184
¶dwarf::DwarfFormat getFormat() const
dwarf::DwarfFormat getFormat() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:183
¶uint8_t getVersion() const
uint8_t getVersion() const
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:182
¶Expected<llvm::StrOffsetsContributionDescriptor>
validateContributionSize(
llvm::DWARFDataExtractor& DA)
Expected<llvm::StrOffsetsContributionDescriptor>
validateContributionSize(
llvm::DWARFDataExtractor& DA)
Description
Determine whether a contribution to the string offsets table is consistent with the relevant section size and that its length is a multiple of the size of one of its entries.
Declared at: llvm/include/llvm/DebugInfo/DWARF/DWARFUnit.h:191