LLVM: Dwarf constants parsing functions (original) (raw)

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

LLVM_ABI unsigned llvm::dwarf::getTag (StringRef TagString)
LLVM_ABI unsigned llvm::dwarf::getOperationEncoding (StringRef OperationEncodingString)
LLVM_ABI unsigned llvm::dwarf::getSubOperationEncoding (unsigned OpEncoding, StringRef SubOperationEncodingString)
LLVM_ABI unsigned llvm::dwarf::getVirtuality (StringRef VirtualityString)
LLVM_ABI unsigned llvm::dwarf::getEnumKind (StringRef EnumKindString)
LLVM_ABI unsigned llvm::dwarf::getLanguage (StringRef LanguageString)
LLVM_ABI unsigned llvm::dwarf::getSourceLanguageName (StringRef SourceLanguageNameString)
LLVM_ABI unsigned llvm::dwarf::getCallingConvention (StringRef LanguageString)
LLVM_ABI unsigned llvm::dwarf::getAttributeEncoding (StringRef EncodingString)
LLVM_ABI unsigned llvm::dwarf::getMacinfo (StringRef MacinfoString)
LLVM_ABI unsigned llvm::dwarf::getMacro (StringRef MacroString)

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

getAttributeEncoding()

getCallingConvention()

getEnumKind()

getLanguage()

getMacinfo()

Definition at line 703 of file Dwarf.cpp.

References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), DW_MACINFO_define, DW_MACINFO_end_file, DW_MACINFO_invalid, DW_MACINFO_start_file, DW_MACINFO_undef, DW_MACINFO_vendor_ext, and MacinfoString().

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

getMacro()

getOperationEncoding()

Definition at line 165 of file Dwarf.cpp.

References llvm::StringSwitch< T, R >::Case(), llvm::StringSwitch< T, R >::Default(), DW_OP_LLVM_arg, DW_OP_LLVM_convert, DW_OP_LLVM_entry_value, DW_OP_LLVM_extract_bits_sext, DW_OP_LLVM_extract_bits_zext, DW_OP_LLVM_fragment, DW_OP_LLVM_implicit_pointer, DW_OP_LLVM_tag_offset, and OperationEncodingString().

getSourceLanguageName()

getSubOperationEncoding()

getTag()

getVirtuality()