Parsed header fields from a .debug_info(.dwo) unit.
Declared in <llvm/DWP/DWP.h>
struct InfoSectionUnitHeader;
Holds data for Skeleton, Split Compilation, and Type Unit Headers (only in v5) as defined in Dwarf 5 specification, 7.5.1.2, 7.5.1.3 and Dwarf 4 specification 7.5.1.1.
| Name | Description |
|---|---|
AddrSize | Address size field from the unit header. |
DebugAbbrevOffset | Debug abbrev offset field; uint64_t even in 32-bit DWARF (assumed 0). |
Format | DWARF format derived from the length of the Length field. |
HeaderSize | Size of the parsed header in bytes, stored as a convenience. |
Length | Unit length field; uint64_t even in 32-bit DWARF. |
Signature | DWO id / signature; in the header only if Version >= 5, else from DW_AT_GNU_dwo_id. |
UnitType | Unit type field; initialized only if Version >= 5. |
Version | DWARF version field from the unit header. |
| Name | Description |
|---|---|
parseInfoSectionUnitHeader | Parse the unit header at the start of a .debug_info(.dwo) section. |