LLVM 20.0.0git
Functions
Dwarf constants parsing functions

These functions map their strings back to the corresponding enumeration value or return 0 if there is none, except for these exceptions: More...

Functions

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)
 

Detailed Description

These functions map their strings back to the corresponding enumeration value or return 0 if there is none, except for these exceptions:

Function Documentation

◆ getAttributeEncoding()

unsigned llvm::dwarf::getAttributeEncoding ( StringRef  EncodingString)

Definition at line 274 of file Dwarf.cpp.

References llvm::StringSwitch< T, R >::Default().

Referenced by llvm::LLParser::parseMDField().

◆ getCallingConvention()

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

Definition at line 481 of file Dwarf.cpp.

References llvm::StringSwitch< T, R >::Default().

Referenced by llvm::LLParser::parseMDField().

◆ getLanguage()

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

◆ getMacinfo()

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

◆ getMacro()

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

◆ getOperationEncoding()

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

◆ getSubOperationEncoding()

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

◆ getTag()

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

◆ getVirtuality()

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