LLVM  14.0.0git
Enumerations | Functions
llvm::ELFAttrs Namespace Reference

Enumerations

enum  AttrType : unsigned { File = 1, Section = 2, Symbol = 3 }
 
enum  AttrMagic { Format_Version = 0x41 }
 

Functions

StringRef attrTypeAsString (unsigned attr, TagNameMap tagNameMap, bool hasTagPrefix=true)
 
Optional< unsigned > attrTypeFromString (StringRef tag, TagNameMap tagNameMap)
 

Enumeration Type Documentation

◆ AttrMagic

Enumerator
Format_Version 

Definition at line 33 of file ELFAttributes.h.

◆ AttrType

enum llvm::ELFAttrs::AttrType : unsigned
Enumerator
File 
Section 
Symbol 

Definition at line 26 of file ELFAttributes.h.

Function Documentation

◆ attrTypeAsString()

StringRef llvm::ELFAttrs::attrTypeAsString ( unsigned  attr,
TagNameMap  tagNameMap,
bool  hasTagPrefix = true 
)

◆ attrTypeFromString()

Optional< unsigned > llvm::ELFAttrs::attrTypeFromString ( StringRef  tag,
TagNameMap  tagNameMap 
)