|
LLVM
5.0.0
|
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
Public Member Functions | |
| AttributeSpec (dwarf::Attribute A, dwarf::Form F, Optional< int64_t > V) | |
| bool | isImplicitConst () const |
| Optional< int64_t > | getByteSize (const DWARFUnit &U) const |
| Get the fixed byte size of this Form if possible. More... | |
Public Attributes | |
| dwarf::Attribute | Attr |
| dwarf::Form | Form |
| Optional< int64_t > | ByteSizeOrValue |
| The following field is used for ByteSize for non-implicit_const attributes and as value for implicit_const ones, indicated by Form == DW_FORM_implicit_const. More... | |
Definition at line 30 of file DWARFAbbreviationDeclaration.h.
|
inline |
Definition at line 31 of file DWARFAbbreviationDeclaration.h.
| Optional< int64_t > DWARFAbbreviationDeclaration::AttributeSpec::getByteSize | ( | const DWARFUnit & | U | ) | const |
Get the fixed byte size of this Form if possible.
This function might use the DWARFUnit to calculate the size of the Form, like for DW_AT_address and DW_AT_ref_addr, so this isn't just an accessor for the ByteSize member.
Definition at line 214 of file DWARFAbbreviationDeclaration.cpp.
References llvm::DWARFFormValue::getFixedByteSize(), and llvm::DWARFUnit::getFormParams().
|
inline |
Definition at line 52 of file DWARFAbbreviationDeclaration.h.
References Form.
| dwarf::Attribute llvm::DWARFAbbreviationDeclaration::AttributeSpec::Attr |
Definition at line 34 of file DWARFAbbreviationDeclaration.h.
| Optional<int64_t> llvm::DWARFAbbreviationDeclaration::AttributeSpec::ByteSizeOrValue |
The following field is used for ByteSize for non-implicit_const attributes and as value for implicit_const ones, indicated by Form == DW_FORM_implicit_const.
The following cases are distinguished:
Definition at line 50 of file DWARFAbbreviationDeclaration.h.
| dwarf::Form llvm::DWARFAbbreviationDeclaration::AttributeSpec::Form |
Definition at line 35 of file DWARFAbbreviationDeclaration.h.
Referenced by isImplicitConst().
1.8.6