|
#define | HANDLE_DW_TAG(ID, NAME, VERSION, VENDOR, KIND) DW_TAG_##NAME = ID, |
|
#define | HANDLE_DW_TAG(ID, NAME, VERSION, VENDOR, KIND) |
|
#define | HANDLE_DW_AT(ID, NAME, VERSION, VENDOR) DW_AT_##NAME = ID, |
|
#define | HANDLE_DW_FORM(ID, NAME, VERSION, VENDOR) DW_FORM_##NAME = ID, |
|
#define | HANDLE_DW_OP(ID, NAME, OPERANDS, ARITY, VERSION, VENDOR) DW_OP_##NAME = ID, |
|
#define | HANDLE_DW_OP_LLVM_USEROP(ID, NAME) DW_OP_LLVM_##NAME = ID, |
|
#define | HANDLE_DW_ATE(ID, NAME, VERSION, VENDOR) DW_ATE_##NAME = ID, |
|
#define | HANDLE_DW_END(ID, NAME) DW_END_##NAME = ID, |
|
#define | HANDLE_DW_VIRTUALITY(ID, NAME) DW_VIRTUALITY_##NAME = ID, |
|
#define | HANDLE_DW_DEFAULTED(ID, NAME) DW_DEFAULTED_##NAME = ID, |
|
#define | HANDLE_DW_LANG(ID, NAME, LOWER_BOUND, VERSION, VENDOR) DW_LANG_##NAME = ID, |
|
#define | HANDLE_DW_LNAME(ID, NAME, DESC, LOWER_BOUND) DW_LNAME_##NAME = ID, |
|
#define | HANDLE_DW_CC(ID, NAME) DW_CC_##NAME = ID, |
|
#define | HANDLE_DW_LNS(ID, NAME) DW_LNS_##NAME = ID, |
|
#define | HANDLE_DW_LNE(ID, NAME) DW_LNE_##NAME = ID, |
|
#define | HANDLE_DW_LNCT(ID, NAME) DW_LNCT_##NAME = ID, |
|
#define | HANDLE_DW_MACRO(ID, NAME) DW_MACRO_##NAME = ID, |
|
#define | HANDLE_DW_MACRO_GNU(ID, NAME) DW_MACRO_GNU_##NAME = ID, |
|
#define | HANDLE_DW_RLE(ID, NAME) DW_RLE_##NAME = ID, |
|
#define | HANDLE_DW_LLE(ID, NAME) DW_LLE_##NAME = ID, |
|
#define | HANDLE_DW_CFA(ID, NAME) DW_CFA_##NAME = ID, |
|
#define | HANDLE_DW_CFA_PRED(ID, NAME, ARCH) DW_CFA_##NAME = ID, |
|
#define | HANDLE_DW_APPLE_PROPERTY(ID, NAME) DW_APPLE_PROPERTY_##NAME = ID, |
|
#define | HANDLE_DW_UT(ID, NAME) DW_UT_##NAME = ID, |
|
#define | HANDLE_DW_IDX(ID, NAME) DW_IDX_##NAME = ID, |
|
|
enum | llvm::dwarf::LLVMConstants : uint32_t {
llvm::dwarf::DW_TAG_invalid = ~0U
, llvm::dwarf::DW_VIRTUALITY_invalid = ~0U
, llvm::dwarf::DW_MACINFO_invalid = ~0U
, llvm::dwarf::DW_LENGTH_lo_reserved = 0xfffffff0
,
llvm::dwarf::DW_LENGTH_DWARF64 = 0xffffffff
, llvm::dwarf::DW_LENGTH_hi_reserved = 0xffffffff
, llvm::dwarf::DWARF_VERSION = 4
, llvm::dwarf::DW_PUBTYPES_VERSION = 2
,
llvm::dwarf::DW_PUBNAMES_VERSION = 2
, llvm::dwarf::DW_ARANGES_VERSION = 2
, llvm::dwarf::DWARF_VENDOR_DWARF = 0
, llvm::dwarf::DWARF_VENDOR_APPLE = 1
,
llvm::dwarf::DWARF_VENDOR_BORLAND = 2
, llvm::dwarf::DWARF_VENDOR_GNU = 3
, llvm::dwarf::DWARF_VENDOR_GOOGLE = 4
, llvm::dwarf::DWARF_VENDOR_LLVM = 5
,
llvm::dwarf::DWARF_VENDOR_MIPS = 6
, llvm::dwarf::DWARF_VENDOR_WASM = 7
, llvm::dwarf::DWARF_VENDOR_ALTIUM
, llvm::dwarf::DWARF_VENDOR_COMPAQ
,
llvm::dwarf::DWARF_VENDOR_GHS
, llvm::dwarf::DWARF_VENDOR_GO
, llvm::dwarf::DWARF_VENDOR_HP
, llvm::dwarf::DWARF_VENDOR_IBM
,
llvm::dwarf::DWARF_VENDOR_INTEL
, llvm::dwarf::DWARF_VENDOR_PGI
, llvm::dwarf::DWARF_VENDOR_SUN
, llvm::dwarf::DWARF_VENDOR_UPC
} |
|
enum | llvm::dwarf::DwarfFormat : uint8_t { llvm::dwarf::DWARF32
, llvm::dwarf::DWARF64
} |
| Constants that define the DWARF format as 32 or 64 bit. More...
|
|
enum | llvm::dwarf::Tag : uint16_t { llvm::dwarf::DW_TAG_lo_user = 0x4080
, llvm::dwarf::DW_TAG_hi_user = 0xffff
, llvm::dwarf::DW_TAG_user_base = 0x1000
} |
|
enum | llvm::dwarf::Attribute : uint16_t { llvm::dwarf::DW_AT_lo_user = 0x2000
, llvm::dwarf::DW_AT_hi_user = 0x3fff
} |
| Attributes. More...
|
|
enum | llvm::dwarf::Form : uint16_t { llvm::dwarf::DW_FORM_lo_user = 0x1f00
} |
|
enum | llvm::dwarf::LocationAtom {
llvm::dwarf::DW_OP_lo_user = 0xe0
, llvm::dwarf::DW_OP_hi_user = 0xff
, llvm::dwarf::DW_OP_LLVM_fragment = 0x1000
, llvm::dwarf::DW_OP_LLVM_convert = 0x1001
,
llvm::dwarf::DW_OP_LLVM_tag_offset = 0x1002
, llvm::dwarf::DW_OP_LLVM_entry_value = 0x1003
, llvm::dwarf::DW_OP_LLVM_implicit_pointer = 0x1004
, llvm::dwarf::DW_OP_LLVM_arg = 0x1005
,
llvm::dwarf::DW_OP_LLVM_extract_bits_sext = 0x1006
, llvm::dwarf::DW_OP_LLVM_extract_bits_zext = 0x1007
} |
|
enum | llvm::dwarf::LlvmUserLocationAtom |
|
enum | llvm::dwarf::TypeKind : uint8_t { llvm::dwarf::DW_ATE_lo_user = 0x80
, llvm::dwarf::DW_ATE_hi_user = 0xff
} |
|
enum | llvm::dwarf::DecimalSignEncoding {
llvm::dwarf::DW_DS_unsigned = 0x01
, llvm::dwarf::DW_DS_leading_overpunch = 0x02
, llvm::dwarf::DW_DS_trailing_overpunch = 0x03
, llvm::dwarf::DW_DS_leading_separate = 0x04
,
llvm::dwarf::DW_DS_trailing_separate = 0x05
} |
|
enum | llvm::dwarf::EndianityEncoding { llvm::dwarf::DW_END_lo_user = 0x40
, llvm::dwarf::DW_END_hi_user = 0xff
} |
|
enum | llvm::dwarf::AccessAttribute { llvm::dwarf::DW_ACCESS_public = 0x01
, llvm::dwarf::DW_ACCESS_protected = 0x02
, llvm::dwarf::DW_ACCESS_private = 0x03
} |
|
enum | llvm::dwarf::VisibilityAttribute { llvm::dwarf::DW_VIS_local = 0x01
, llvm::dwarf::DW_VIS_exported = 0x02
, llvm::dwarf::DW_VIS_qualified = 0x03
} |
|
enum | llvm::dwarf::VirtualityAttribute { llvm::dwarf::DW_VIRTUALITY_max = 0x02
} |
|
enum | llvm::dwarf::DefaultedMemberAttribute { llvm::dwarf::DW_DEFAULTED_max = 0x02
} |
|
enum | llvm::dwarf::SourceLanguage { llvm::dwarf::DW_LANG_lo_user = 0x8000
, llvm::dwarf::DW_LANG_hi_user = 0xffff
} |
|
enum | llvm::dwarf::SourceLanguageName : uint16_t |
|
enum | llvm::dwarf::CaseSensitivity { llvm::dwarf::DW_ID_case_sensitive = 0x00
, llvm::dwarf::DW_ID_up_case = 0x01
, llvm::dwarf::DW_ID_down_case = 0x02
, llvm::dwarf::DW_ID_case_insensitive = 0x03
} |
|
enum | llvm::dwarf::CallingConvention { llvm::dwarf::DW_CC_lo_user = 0x40
, llvm::dwarf::DW_CC_hi_user = 0xff
} |
|
enum | llvm::dwarf::InlineAttribute { llvm::dwarf::DW_INL_not_inlined = 0x00
, llvm::dwarf::DW_INL_inlined = 0x01
, llvm::dwarf::DW_INL_declared_not_inlined = 0x02
, llvm::dwarf::DW_INL_declared_inlined = 0x03
} |
|
enum | llvm::dwarf::ArrayDimensionOrdering { llvm::dwarf::DW_ORD_row_major = 0x00
, llvm::dwarf::DW_ORD_col_major = 0x01
} |
|
enum | llvm::dwarf::DiscriminantList { llvm::dwarf::DW_DSC_label = 0x00
, llvm::dwarf::DW_DSC_range = 0x01
} |
|
enum | llvm::dwarf::LineNumberOps : uint8_t |
| Line Number Standard Opcode Encodings. More...
|
|
enum | llvm::dwarf::LineNumberExtendedOps { llvm::dwarf::DW_LNE_lo_user = 0x80
, llvm::dwarf::DW_LNE_hi_user = 0xff
} |
| Line Number Extended Opcode Encodings. More...
|
|
enum | llvm::dwarf::LineNumberEntryFormat { llvm::dwarf::DW_LNCT_lo_user = 0x2000
, llvm::dwarf::DW_LNCT_hi_user = 0x3fff
} |
|
enum | llvm::dwarf::MacinfoRecordType {
llvm::dwarf::DW_MACINFO_define = 0x01
, llvm::dwarf::DW_MACINFO_undef = 0x02
, llvm::dwarf::DW_MACINFO_start_file = 0x03
, llvm::dwarf::DW_MACINFO_end_file = 0x04
,
llvm::dwarf::DW_MACINFO_vendor_ext = 0xff
} |
|
enum | llvm::dwarf::MacroEntryType { llvm::dwarf::DW_MACRO_lo_user = 0xe0
, llvm::dwarf::DW_MACRO_hi_user = 0xff
} |
| DWARF v5 macro information entry type encodings. More...
|
|
enum | llvm::dwarf::GnuMacroEntryType { llvm::dwarf::DW_MACRO_GNU_lo_user = 0xe0
, llvm::dwarf::DW_MACRO_GNU_hi_user = 0xff
} |
| GNU .debug_macro macro information entry type encodings. More...
|
|
enum | llvm::dwarf::RnglistEntries |
| DWARF v5 range list entry encoding values. More...
|
|
enum | llvm::dwarf::LoclistEntries |
| DWARF v5 loc list entry encoding values. More...
|
|
enum | llvm::dwarf::CallFrameInfo { llvm::dwarf::DW_CFA_extended = 0x00
, llvm::dwarf::DW_CFA_lo_user = 0x1c
, llvm::dwarf::DW_CFA_hi_user = 0x3f
} |
| Call frame instruction encodings. More...
|
|
enum | llvm::dwarf::Constants {
llvm::dwarf::DW_CHILDREN_no = 0x00
, llvm::dwarf::DW_CHILDREN_yes = 0x01
, llvm::dwarf::DW_EH_PE_absptr = 0x00
, llvm::dwarf::DW_EH_PE_omit = 0xff
,
llvm::dwarf::DW_EH_PE_uleb128 = 0x01
, llvm::dwarf::DW_EH_PE_udata2 = 0x02
, llvm::dwarf::DW_EH_PE_udata4 = 0x03
, llvm::dwarf::DW_EH_PE_udata8 = 0x04
,
llvm::dwarf::DW_EH_PE_sleb128 = 0x09
, llvm::dwarf::DW_EH_PE_sdata2 = 0x0A
, llvm::dwarf::DW_EH_PE_sdata4 = 0x0B
, llvm::dwarf::DW_EH_PE_sdata8 = 0x0C
,
llvm::dwarf::DW_EH_PE_signed = 0x08
, llvm::dwarf::DW_EH_PE_pcrel = 0x10
, llvm::dwarf::DW_EH_PE_textrel = 0x20
, llvm::dwarf::DW_EH_PE_datarel = 0x30
,
llvm::dwarf::DW_EH_PE_funcrel = 0x40
, llvm::dwarf::DW_EH_PE_aligned = 0x50
, llvm::dwarf::DW_EH_PE_indirect = 0x80
} |
|
enum | llvm::dwarf::ApplePropertyAttributes |
| Constants for the DW_APPLE_PROPERTY_attributes attribute. More...
|
|
enum | llvm::dwarf::UnitType : unsigned char { llvm::dwarf::DW_UT_lo_user = 0x80
, llvm::dwarf::DW_UT_hi_user = 0xff
} |
| Constants for unit types in DWARF v5. More...
|
|
enum | llvm::dwarf::Index { llvm::dwarf::DW_IDX_lo_user = 0x2000
, llvm::dwarf::DW_IDX_hi_user = 0x3fff
} |
|
enum | llvm::dwarf::AcceleratorTable {
llvm::dwarf::DW_ATOM_null = 0u
, llvm::dwarf::DW_ATOM_die_offset = 1u
, llvm::dwarf::DW_ATOM_cu_offset = 2u
, llvm::dwarf::DW_ATOM_die_tag = 3u
,
llvm::dwarf::DW_ATOM_type_flags = 4u
, llvm::dwarf::DW_ATOM_type_type_flags = 5u
, llvm::dwarf::DW_ATOM_qual_name_hash = 6u
, llvm::dwarf::DW_FLAG_type_implementation = 2u
,
llvm::dwarf::DW_hash_function_djb = 0u
} |
|
enum | llvm::dwarf::GDBIndexEntryKind {
llvm::dwarf::GIEK_NONE
, llvm::dwarf::GIEK_TYPE
, llvm::dwarf::GIEK_VARIABLE
, llvm::dwarf::GIEK_FUNCTION
,
llvm::dwarf::GIEK_OTHER
, llvm::dwarf::GIEK_UNUSED5
, llvm::dwarf::GIEK_UNUSED6
, llvm::dwarf::GIEK_UNUSED7
} |
|
enum | llvm::dwarf::GDBIndexEntryLinkage { llvm::dwarf::GIEL_EXTERNAL
, llvm::dwarf::GIEL_STATIC
} |
|
|
bool | llvm::dwarf::isType (Tag T) |
|
std::optional< SourceLanguage > | llvm::dwarf::toDW_LANG (SourceLanguageName name, uint32_t version) |
| Convert a DWARF 6 pair of language name and version to a DWARF 5 DW_LANG.
|
|
std::optional< std::pair< SourceLanguageName, uint32_t > > | llvm::dwarf::toDW_LNAME (SourceLanguage language) |
| Convert a DWARF 5 DW_LANG to a DWARF 6 pair of language name and version.
|
|
llvm::StringRef | llvm::dwarf::LanguageDescription (SourceLanguageName name) |
|
bool | llvm::dwarf::isCPlusPlus (SourceLanguage S) |
|
bool | llvm::dwarf::isFortran (SourceLanguage S) |
|
bool | llvm::dwarf::isC (SourceLanguage S) |
|
TypeKind | llvm::dwarf::getArrayIndexTypeEncoding (SourceLanguage S) |
|
bool | llvm::dwarf::isUnitType (uint8_t UnitType) |
|
bool | llvm::dwarf::isUnitType (dwarf::Tag T) |
|
uint32_t | llvm::dwarf::getDebugNamesBucketCount (uint32_t UniqueHashCount) |
|
StringRef | llvm::dwarf::TagString (unsigned Tag) |
|
StringRef | llvm::dwarf::ChildrenString (unsigned Children) |
|
StringRef | llvm::dwarf::AttributeString (unsigned Attribute) |
|
StringRef | llvm::dwarf::FormEncodingString (unsigned Encoding) |
|
StringRef | llvm::dwarf::OperationEncodingString (unsigned Encoding) |
|
StringRef | llvm::dwarf::SubOperationEncodingString (unsigned OpEncoding, unsigned SubOpEncoding) |
|
StringRef | llvm::dwarf::AttributeEncodingString (unsigned Encoding) |
|
StringRef | llvm::dwarf::DecimalSignString (unsigned Sign) |
|
StringRef | llvm::dwarf::EndianityString (unsigned Endian) |
|
StringRef | llvm::dwarf::AccessibilityString (unsigned Access) |
|
StringRef | llvm::dwarf::DefaultedMemberString (unsigned DefaultedEncodings) |
|
StringRef | llvm::dwarf::VisibilityString (unsigned Visibility) |
|
StringRef | llvm::dwarf::VirtualityString (unsigned Virtuality) |
|
StringRef | llvm::dwarf::LanguageString (unsigned Language) |
|
StringRef | llvm::dwarf::CaseString (unsigned Case) |
|
StringRef | llvm::dwarf::ConventionString (unsigned Convention) |
|
StringRef | llvm::dwarf::InlineCodeString (unsigned Code) |
|
StringRef | llvm::dwarf::ArrayOrderString (unsigned Order) |
|
StringRef | llvm::dwarf::LNStandardString (unsigned Standard) |
|
StringRef | llvm::dwarf::LNExtendedString (unsigned Encoding) |
|
StringRef | llvm::dwarf::MacinfoString (unsigned Encoding) |
|
StringRef | llvm::dwarf::MacroString (unsigned Encoding) |
|
StringRef | llvm::dwarf::GnuMacroString (unsigned Encoding) |
|
StringRef | llvm::dwarf::RangeListEncodingString (unsigned Encoding) |
|
StringRef | llvm::dwarf::LocListEncodingString (unsigned Encoding) |
|
StringRef | llvm::dwarf::CallFrameString (unsigned Encoding, Triple::ArchType Arch) |
|
StringRef | llvm::dwarf::ApplePropertyString (unsigned) |
|
StringRef | llvm::dwarf::UnitTypeString (unsigned) |
|
StringRef | llvm::dwarf::AtomTypeString (unsigned Atom) |
|
StringRef | llvm::dwarf::GDBIndexEntryKindString (GDBIndexEntryKind Kind) |
|
StringRef | llvm::dwarf::GDBIndexEntryLinkageString (GDBIndexEntryLinkage Linkage) |
|
StringRef | llvm::dwarf::IndexString (unsigned Idx) |
|
StringRef | llvm::dwarf::FormatString (DwarfFormat Format) |
|
StringRef | llvm::dwarf::FormatString (bool IsDWARF64) |
|
StringRef | llvm::dwarf::RLEString (unsigned RLE) |
|
unsigned | llvm::dwarf::getTag (StringRef TagString) |
|
unsigned | llvm::dwarf::getOperationEncoding (StringRef OperationEncodingString) |
|
unsigned | llvm::dwarf::getSubOperationEncoding (unsigned OpEncoding, StringRef SubOperationEncodingString) |
|
unsigned | llvm::dwarf::getVirtuality (StringRef VirtualityString) |
|
unsigned | llvm::dwarf::getLanguage (StringRef LanguageString) |
|
unsigned | llvm::dwarf::getCallingConvention (StringRef LanguageString) |
|
unsigned | llvm::dwarf::getAttributeEncoding (StringRef EncodingString) |
|
unsigned | llvm::dwarf::getMacinfo (StringRef MacinfoString) |
|
unsigned | llvm::dwarf::getMacro (StringRef MacroString) |
|
unsigned | llvm::dwarf::TagVersion (Tag T) |
|
unsigned | llvm::dwarf::AttributeVersion (Attribute A) |
|
unsigned | llvm::dwarf::FormVersion (Form F) |
|
unsigned | llvm::dwarf::OperationVersion (LocationAtom O) |
|
unsigned | llvm::dwarf::AttributeEncodingVersion (TypeKind E) |
|
unsigned | llvm::dwarf::LanguageVersion (SourceLanguage L) |
|
unsigned | llvm::dwarf::TagVendor (Tag T) |
|
unsigned | llvm::dwarf::AttributeVendor (Attribute A) |
|
unsigned | llvm::dwarf::FormVendor (Form F) |
|
unsigned | llvm::dwarf::OperationVendor (LocationAtom O) |
|
unsigned | llvm::dwarf::AttributeEncodingVendor (TypeKind E) |
|
unsigned | llvm::dwarf::LanguageVendor (SourceLanguage L) |
|
std::optional< unsigned > | llvm::dwarf::OperationOperands (LocationAtom O) |
| The number of operands for the given LocationAtom.
|
|
std::optional< unsigned > | llvm::dwarf::OperationArity (LocationAtom O) |
| The arity of the given LocationAtom.
|
|
std::optional< unsigned > | llvm::dwarf::LanguageLowerBound (SourceLanguage L) |
|
uint8_t | llvm::dwarf::getDwarfOffsetByteSize (DwarfFormat Format) |
| The size of a reference determined by the DWARF 32/64-bit format.
|
|
uint8_t | llvm::dwarf::getUnitLengthFieldByteSize (DwarfFormat Format) |
| Get the byte size of the unit length field depending on the DWARF format.
|
|
std::optional< uint8_t > | llvm::dwarf::getFixedFormByteSize (dwarf::Form Form, FormParams Params) |
| Get the fixed byte size for a given form.
|
|
bool | llvm::dwarf::isValidFormForVersion (Form F, unsigned Version, bool ExtensionsOk=true) |
| Tells whether the specified form is defined in the specified version, or is an extension if extensions are allowed.
|
|
StringRef | llvm::dwarf::AttributeValueString (uint16_t Attr, unsigned Val) |
| Returns the symbolic string representing Val when used as a value for attribute Attr.
|
|
StringRef | llvm::dwarf::AtomValueString (uint16_t Atom, unsigned Val) |
| Returns the symbolic string representing Val when used as a value for atom Atom.
|
|
uint64_t | llvm::dwarf::computeTombstoneAddress (uint8_t AddressByteSize) |
|
This file contains constants used for implementing Dwarf debug support.
For details on the Dwarf specfication see the latest DWARF Debugging Information Format standard document on http://www.dwarfstd.org. This file often includes support for non-released standard features.
Definition in file Dwarf.h.