LLVM 22.0.0git
|
Enumerations | |
enum | AttrType : unsigned { File = 1 , Section = 2 , Symbol = 3 } |
enum | AttrMagic { Format_Version = 0x41 } |
Functions | |
LLVM_ABI StringRef | attrTypeAsString (unsigned attr, TagNameMap tagNameMap, bool hasTagPrefix=true) |
LLVM_ABI std::optional< unsigned > | attrTypeFromString (StringRef tag, TagNameMap tagNameMap) |
Enumerator | |
---|---|
Format_Version |
Definition at line 65 of file ELFAttributes.h.
enum llvm::ELFAttrs::AttrType : unsigned |
Enumerator | |
---|---|
File | |
Section | |
Symbol |
Definition at line 57 of file ELFAttributes.h.
StringRef llvm::ELFAttrs::attrTypeAsString | ( | unsigned | attr, |
TagNameMap | tagNameMap, | ||
bool | hasTagPrefix = true ) |
Definition at line 14 of file ELFAttributes.cpp.
References llvm::TagNameItem::attr, llvm::StringRef::drop_front(), llvm::ArrayRef< T >::end(), and llvm::find_if().
Referenced by llvm::ELFCompactAttrParser::integerAttribute(), llvm::ELFCompactAttrParser::printAttribute(), and llvm::ELFCompactAttrParser::stringAttribute().
std::optional< unsigned > llvm::ELFAttrs::attrTypeFromString | ( | StringRef | tag, |
TagNameMap | tagNameMap ) |
Definition at line 24 of file ELFAttributes.cpp.
References llvm::StringRef::drop_front(), llvm::ArrayRef< T >::end(), llvm::find_if(), llvm::StringRef::starts_with(), and llvm::TagNameItem::tagName.