LLVM 20.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)
 
std::optional< unsignedattrTypeFromString (StringRef tag, TagNameMap tagNameMap)
 

Enumeration Type Documentation

◆ AttrMagic

Enumerator
Format_Version 

Definition at line 34 of file ELFAttributes.h.

◆ AttrType

Enumerator
File 
Section 
Symbol 

Definition at line 27 of file ELFAttributes.h.

Function Documentation

◆ attrTypeAsString()

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

◆ attrTypeFromString()

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