|
LLVM
4.0.0
|
#include <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 25 of file DWARFAbbreviationDeclaration.h.
|
inline |
Definition at line 26 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 201 of file DWARFAbbreviationDeclaration.cpp.
References llvm::DWARFFormValue::getFixedByteSize().
|
inline |
Definition at line 44 of file DWARFAbbreviationDeclaration.h.
| dwarf::Attribute llvm::DWARFAbbreviationDeclaration::AttributeSpec::Attr |
Definition at line 28 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 43 of file DWARFAbbreviationDeclaration.h.
| dwarf::Form llvm::DWARFAbbreviationDeclaration::AttributeSpec::Form |
Definition at line 29 of file DWARFAbbreviationDeclaration.h.
1.8.6