|
LLVM
7.0.0
|
Represents a unit's contribution to the string offsets table. More...
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
Public Member Functions | |
| StrOffsetsContributionDescriptor (uint64_t Base, uint64_t Size, uint8_t Version, dwarf::DwarfFormat Format) | |
| uint8_t | getVersion () const |
| dwarf::DwarfFormat | getFormat () const |
| uint8_t | getDwarfOffsetByteSize () const |
| Optional< StrOffsetsContributionDescriptor > | validateContributionSize (DWARFDataExtractor &DA) |
| 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. More... | |
Public Attributes | |
| uint64_t | Base = 0 |
| uint64_t | Size = 0 |
| The contribution size not including the header. More... | |
| dwarf::FormParams | FormParams = {0, 0, dwarf::DwarfFormat::DWARF32} |
| Format and version. More... | |
Represents a unit's contribution to the string offsets table.
Definition at line 232 of file DWARFUnit.h.
|
inline |
Definition at line 239 of file DWARFUnit.h.
References llvm::IndexedInstrProf::Version.
|
inline |
Definition at line 245 of file DWARFUnit.h.
References llvm::dwarf::FormParams::getDwarfOffsetByteSize().
|
inline |
Definition at line 244 of file DWARFUnit.h.
References llvm::dwarf::FormParams::Format.
|
inline |
Definition at line 243 of file DWARFUnit.h.
References llvm::dwarf::FormParams::Version.
| Optional< StrOffsetsContributionDescriptor > StrOffsetsContributionDescriptor::validateContributionSize | ( | DWARFDataExtractor & | DA | ) |
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.
Definition at line 653 of file DWARFUnit.cpp.
References llvm::alignTo(), llvm::DWARFUnit::getDwarfOffsetByteSize(), llvm::DataExtractor::isValidOffsetForDataOfSize(), and llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Size.
Referenced by llvm::DWARFUnit::determineStringOffsetsTableContribution().
| uint64_t llvm::StrOffsetsContributionDescriptor::Base = 0 |
Definition at line 233 of file DWARFUnit.h.
Referenced by collectContributionData().
| dwarf::FormParams llvm::StrOffsetsContributionDescriptor::FormParams = {0, 0, dwarf::DwarfFormat::DWARF32} |
Format and version.
Definition at line 237 of file DWARFUnit.h.
| uint64_t llvm::StrOffsetsContributionDescriptor::Size = 0 |
The contribution size not including the header.
Definition at line 235 of file DWARFUnit.h.
Referenced by collectContributionData().
1.8.13