LLVM 20.0.0git
|
#include "llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h"
Public Member Functions | |
AttributeSpec (dwarf::Attribute A, dwarf::Form F, int64_t Value) | |
AttributeSpec (dwarf::Attribute A, dwarf::Form F, std::optional< uint8_t > ByteSize) | |
DWARFFormValue | getFormValue () const |
bool | isImplicitConst () const |
int64_t | getImplicitConstValue () const |
std::optional< int64_t > | getByteSize (const DWARFUnit &U) const |
Get the fixed byte size of this Form if possible. | |
Public Attributes | |
dwarf::Attribute | Attr |
dwarf::Form | Form |
ByteSizeStorage | ByteSize |
int64_t | Value |
Definition at line 29 of file DWARFAbbreviationDeclaration.h.
|
inline |
Definition at line 30 of file DWARFAbbreviationDeclaration.h.
References assert(), and isImplicitConst().
|
inline |
Definition at line 34 of file DWARFAbbreviationDeclaration.h.
References assert(), ByteSize, and isImplicitConst().
std::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 233 of file DWARFAbbreviationDeclaration.cpp.
References ByteSize, llvm::dwarf::getFixedFormByteSize(), and isImplicitConst().
|
inline |
Definition at line 43 of file DWARFAbbreviationDeclaration.h.
References llvm::DWARFFormValue::createFromSValue(), and getImplicitConstValue().
|
inline |
Definition at line 81 of file DWARFAbbreviationDeclaration.h.
References assert(), isImplicitConst(), and Value.
Referenced by getFormValue().
|
inline |
Definition at line 77 of file DWARFAbbreviationDeclaration.h.
Referenced by AttributeSpec(), getByteSize(), and getImplicitConstValue().
dwarf::Attribute llvm::DWARFAbbreviationDeclaration::AttributeSpec::Attr |
Definition at line 50 of file DWARFAbbreviationDeclaration.h.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneAddressAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneBlockAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneDieRefAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneStringAttr(), llvm::shouldSkipAttribute(), and llvm::dwarf_linker::parallel::DIEAttributeCloner::shouldSkipAttribute().
ByteSizeStorage llvm::DWARFAbbreviationDeclaration::AttributeSpec::ByteSize |
Definition at line 72 of file DWARFAbbreviationDeclaration.h.
Referenced by AttributeSpec(), and getByteSize().
dwarf::Form llvm::DWARFAbbreviationDeclaration::AttributeSpec::Form |
Definition at line 51 of file DWARFAbbreviationDeclaration.h.
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneAddressAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneBlockAttr(), llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneScalarAttr(), and llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneStringAttr().
int64_t llvm::DWARFAbbreviationDeclaration::AttributeSpec::Value |
Definition at line 73 of file DWARFAbbreviationDeclaration.h.
Referenced by getImplicitConstValue().