LLVM 20.0.0git
Functions
Dwarf constants dumping functions

All these functions map their argument's value back to the corresponding enumerator name or return an empty StringRef if the value isn't known. More...

Functions

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)
 

Detailed Description

All these functions map their argument's value back to the corresponding enumerator name or return an empty StringRef if the value isn't known.

Function Documentation

◆ AccessibilityString()

StringRef llvm::dwarf::AccessibilityString ( unsigned  Access)

◆ ApplePropertyString()

StringRef llvm::dwarf::ApplePropertyString ( unsigned  Prop)

Definition at line 642 of file Dwarf.cpp.

Referenced by dumpApplePropertyAttribute().

◆ ArrayOrderString()

StringRef llvm::dwarf::ArrayOrderString ( unsigned  Order)

◆ AtomTypeString()

StringRef llvm::dwarf::AtomTypeString ( unsigned  Atom)

◆ AttributeEncodingString()

StringRef llvm::dwarf::AttributeEncodingString ( unsigned  Encoding)

◆ AttributeString()

StringRef llvm::dwarf::AttributeString ( unsigned  Attribute)

◆ CallFrameString()

StringRef llvm::dwarf::CallFrameString ( unsigned  Encoding,
Triple::ArchType  Arch 
)

Definition at line 613 of file Dwarf.cpp.

References assert(), and llvm::Triple::UnknownArch.

Referenced by llvm::dwarf::CFIProgram::callFrameString().

◆ CaseString()

StringRef llvm::dwarf::CaseString ( unsigned  Case)

◆ ChildrenString()

StringRef llvm::dwarf::ChildrenString ( unsigned  Children)

◆ ConventionString()

StringRef llvm::dwarf::ConventionString ( unsigned  Convention)

Definition at line 470 of file Dwarf.cpp.

References CC.

Referenced by llvm::dwarf::AttributeValueString(), and writeDISubroutineType().

◆ DecimalSignString()

StringRef llvm::dwarf::DecimalSignString ( unsigned  Sign)

◆ DefaultedMemberString()

StringRef llvm::dwarf::DefaultedMemberString ( unsigned  DefaultedEncodings)

Definition at line 349 of file Dwarf.cpp.

Referenced by llvm::dwarf::AttributeValueString().

◆ EndianityString()

StringRef llvm::dwarf::EndianityString ( unsigned  Endian)

◆ FormatString() [1/2]

StringRef llvm::dwarf::FormatString ( bool  IsDWARF64)

◆ FormatString() [2/2]

StringRef llvm::dwarf::FormatString ( DwarfFormat  Format)

◆ FormEncodingString()

StringRef llvm::dwarf::FormEncodingString ( unsigned  Encoding)

◆ GDBIndexEntryKindString()

StringRef llvm::dwarf::GDBIndexEntryKindString ( GDBIndexEntryKind  Kind)

◆ GDBIndexEntryLinkageString()

StringRef llvm::dwarf::GDBIndexEntryLinkageString ( GDBIndexEntryLinkage  Linkage)

◆ GnuMacroString()

StringRef llvm::dwarf::GnuMacroString ( unsigned  Encoding)

Definition at line 574 of file Dwarf.cpp.

Referenced by llvm::DWARFDebugMacro::dump().

◆ IndexString()

StringRef llvm::dwarf::IndexString ( unsigned  Idx)

Definition at line 760 of file Dwarf.cpp.

References Idx.

◆ InlineCodeString()

StringRef llvm::dwarf::InlineCodeString ( unsigned  Code)

◆ LanguageString()

StringRef llvm::dwarf::LanguageString ( unsigned  Language)

◆ LNExtendedString()

StringRef llvm::dwarf::LNExtendedString ( unsigned  Encoding)

Definition at line 523 of file Dwarf.cpp.

Referenced by llvm::DWARFDebugLine::LineTable::parse().

◆ LNStandardString()

StringRef llvm::dwarf::LNStandardString ( unsigned  Standard)

Definition at line 512 of file Dwarf.cpp.

Referenced by getOpcodeName(), and llvm::DWARFDebugLine::LineTable::parse().

◆ LocListEncodingString()

StringRef llvm::dwarf::LocListEncodingString ( unsigned  Encoding)

◆ MacinfoString()

StringRef llvm::dwarf::MacinfoString ( unsigned  Encoding)

◆ MacroString()

StringRef llvm::dwarf::MacroString ( unsigned  Encoding)

Definition at line 563 of file Dwarf.cpp.

Referenced by llvm::DWARFDebugMacro::dump(), and llvm::dwarf::getMacro().

◆ OperationEncodingString()

StringRef llvm::dwarf::OperationEncodingString ( unsigned  Encoding)

◆ RangeListEncodingString()

StringRef llvm::dwarf::RangeListEncodingString ( unsigned  Encoding)

◆ RLEString()

StringRef llvm::dwarf::RLEString ( unsigned  RLE)

Definition at line 882 of file Dwarf.cpp.

Referenced by llvm::RangeListEntry::extract().

◆ SubOperationEncodingString()

StringRef llvm::dwarf::SubOperationEncodingString ( unsigned  OpEncoding,
unsigned  SubOpEncoding 
)

◆ TagString()

StringRef llvm::dwarf::TagString ( unsigned  Tag)

◆ UnitTypeString()

StringRef llvm::dwarf::UnitTypeString ( unsigned  UT)

Definition at line 653 of file Dwarf.cpp.

Referenced by llvm::DWARFCompileUnit::dump(), and llvm::DWARFTypeUnit::dump().

◆ VirtualityString()

StringRef llvm::dwarf::VirtualityString ( unsigned  Virtuality)

Definition at line 374 of file Dwarf.cpp.

Referenced by llvm::dwarf::AttributeValueString(), and llvm::dwarf::getVirtuality().

◆ VisibilityString()

StringRef llvm::dwarf::VisibilityString ( unsigned  Visibility)