Read the next attribute/form spec from an abbreviation declaration.
Declared in <llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h>
bool
readAbbrevAttribute(
DataExtractor const& AbbrevData,
uint64_t* Offset,
dwarf::Attribute& Name,
dwarf::Form& Form,
std::optional<int64_t>& ImplicitConst);
Read the next (attribute, form) specification from an abbreviation declaration at Offset, advancing Offset past it. ImplicitConst is set to the inline value of a DW_FORM_implicit_const attribute and to std::nullopt otherwise.
false on the terminating (0, 0) pair; true otherwise.
| Name | Description |
|---|---|
| AbbrevData | .debug_abbrev bytes containing the abbreviation. |
| Offset | Byte offset of the next attribute spec; advanced past it. |
| Name | DWARF attribute name read from the spec. |
| Form | DWARF form encoding read from the spec. |
| ImplicitConst | Inline value if Form is DW_FORM_implicit_const; std::nullopt otherwise. |