LLVM: llvm::DWARFFormValue Class Reference (original) (raw)
#include "[llvm/DebugInfo/DWARF/DWARFFormValue.h](DWARFFormValue%5F8h%5Fsource.html)"
Definition at line 27 of file DWARFFormValue.h.
◆ FormClass
| Enumerator |
|---|
| FC_Unknown |
| FC_Address |
| FC_Block |
| FC_Constant |
| FC_String |
| FC_Flag |
| FC_Reference |
| FC_Indirect |
| FC_SectionOffset |
| FC_Exprloc |
Definition at line 29 of file DWARFFormValue.h.
◆ createFromBlockValue()
◆ createFromPValue()
◆ createFromSValue()
◆ createFromUnit()
◆ createFromUValue()
◆ dump()
Definition at line 382 of file DWARFFormValue.cpp.
References A(), llvm::Address, dumpSectionedAddress(), llvm::format(), llvm::WithColor::get(), getAsSectionedAddress(), llvm::dwarf::getDwarfOffsetByteSize(), llvm::nulls(), llvm::Offset, llvm::DIDumpOptions::ShowAddresses, llvm::DIDumpOptions::Verbose, and llvm::raw_ostream::write_escaped().
Referenced by llvm::DWARFDebugLine::Prologue::dump(), dumpAttribute(), and dumpLocationList().
◆ dumpAddress() [1/2]
◆ dumpAddress() [2/2]
◆ dumpAddressSection()
◆ dumpSectionedAddress()
◆ extractValue() [1/2]
Extracts a value in Data at offset *OffsetPtr.
The information in FormParams is needed to interpret some forms. The optional Context and Unit allows extracting information if the form refers to other sections (e.g., .debug_str).
Definition at line 220 of file DWARFFormValue.cpp.
References llvm::Data, llvm::errorToBool(), FP, llvm_unreachable, Size, and llvm::Error::success().
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::clone(), createFromUnit(), extractValue(), llvm::DWARFAbbreviationDeclaration::getAttributeValueFromOffset(), llvm::dwarf_linker::parallel::DependencyTracker::maybeAddReferencedRoots(), and llvm::AppleAcceleratorTable::readAtoms().
◆ extractValue() [2/2]
◆ getAsAddress()
| std::optional< uint64_t > DWARFFormValue::getAsAddress | ( | ) | const |
|---|
◆ getAsBlock()
◆ getAsCString()
◆ getAsCStringOffset()
| std::optional< uint64_t > DWARFFormValue::getAsCStringOffset | ( | ) | const |
|---|
◆ getAsDebugInfoReference()
| std::optional< uint64_t > DWARFFormValue::getAsDebugInfoReference | ( | ) | const |
|---|
◆ getAsFile()
◆ getAsReferenceUVal()
| std::optional< uint64_t > DWARFFormValue::getAsReferenceUVal | ( | ) | const |
|---|
◆ getAsRelativeReference()
| std::optional< uint64_t > DWARFFormValue::getAsRelativeReference | ( | ) | const |
|---|
◆ getAsSectionedAddress() [1/2]
◆ getAsSectionedAddress() [2/2]
◆ getAsSectionOffset()
| std::optional< uint64_t > DWARFFormValue::getAsSectionOffset | ( | ) | const |
|---|
◆ getAsSignatureReference()
| std::optional< uint64_t > DWARFFormValue::getAsSignatureReference | ( | ) | const |
|---|
◆ getAsSignedConstant()
| std::optional< int64_t > DWARFFormValue::getAsSignedConstant | ( | ) | const |
|---|
◆ getAsSupplementaryReference()
| std::optional< uint64_t > DWARFFormValue::getAsSupplementaryReference | ( | ) | const |
|---|
◆ getAsUnsignedConstant()
| std::optional< uint64_t > DWARFFormValue::getAsUnsignedConstant | ( | ) | const |
|---|
◆ getForm()
| dwarf::Form llvm::DWARFFormValue::getForm ( ) const | inline |
|---|
◆ getRawUValue()
| uint64_t llvm::DWARFFormValue::getRawUValue ( ) const | inline |
|---|
◆ getUnit()
◆ isFormClass()
| bool DWARFFormValue::isFormClass | ( | DWARFFormValue::FormClass | FC | ) | const |
|---|
Definition at line 216 of file DWARFFormValue.cpp.
References llvm::dwarf::doesFormBelongToClass().
Referenced by llvm::dwarf_linker::parallel::DIEAttributeCloner::cloneBlockAttr(), dumpAttribute(), dumpLocationExpr(), dumpLocationList(), getAsBlock(), getAsCString(), getAsCStringOffset(), getAsFile(), getAsReferenceUVal(), getAsSectionOffset(), getAsSignedConstant(), getAsUnsignedConstant(), llvm::dwarf_linker::parallel::DependencyTracker::maybeAddReferencedRoots(), and llvm::AppleAcceleratorTable::validateForms().
◆ skipValue() [1/2]
◆ skipValue() [2/2]
The documentation for this class was generated from the following files:
- include/llvm/DebugInfo/DWARF/DWARFFormValue.h
- lib/DebugInfo/DWARF/DWARFFormValue.cpp