Synopsis

Declared in <llvm/DebugInfo/DWARF/DWARFFormValue.h>

class DWARFFormValue;

Types

Name

ValueType

Enums

Name

Description

FormClass

High‐level classification of a DWARF form's value representation.

Member Functions

Name

Description

DWARFFormValue [constructor]

Construct a form value with form F and an empty value.

dump

dumpAddress

dumpSectionedAddress

extractValue

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).

getAsAddress

getAsBlock

getAsCString

getAsCStringOffset

getAsDebugInfoReference

getAsFile

Correctly extract any file paths from a form value.

getAsReferenceUVal

getAsRelativeReference

getAsFoo functions below return the extracted value as Foo if only DWARFFormValue has form class is suitable for representing Foo.

getAsSectionOffset

getAsSectionedAddress

Return this value as a sectioned address, if the form is an address.

getAsSignatureReference

getAsSignedConstant

getAsSupplementaryReference

getAsUnsignedConstant

Return the value as an unsigned constant if the form is FC_Constant or FC_Flag (except DW_FORM_sdata).

getForm

getRawUValue

getUnit

isFormClass

skipValue

Skip a form's value in DebugInfoData at the offset specified by OffsetPtr.

Static Member Functions

Name

Description

createFromBlockValue

createFromPValue

createFromSValue

createFromUValue

createFromUnit

dumpAddress

dumpAddressSection

getAsSectionedAddress

Interpret Val/Form as a sectioned address in U, if possible.

skipValue

Skip a form's value in DebugInfoData at the offset specified by OffsetPtr.

Created with MrDocs