LLVM  4.0.0
Public Member Functions | List of all members
llvm::object::Elf_Sym_Impl< ELFT > Struct Template Reference

#include <ELFTypes.h>

Inheritance diagram for llvm::object::Elf_Sym_Impl< ELFT >:
[legend]
Collaboration diagram for llvm::object::Elf_Sym_Impl< ELFT >:
[legend]

Public Member Functions

unsigned char getBinding () const
 
unsigned char getType () const
 
uint64_t getValue () const
 
void setBinding (unsigned char b)
 
void setType (unsigned char t)
 
void setBindingAndType (unsigned char b, unsigned char t)
 
unsigned char getVisibility () const
 Access to the STV_xxx flag stored in the first two bits of st_other. More...
 
void setVisibility (unsigned char v)
 
bool isAbsolute () const
 
bool isCommon () const
 
bool isDefined () const
 
bool isProcessorSpecific () const
 
bool isOSSpecific () const
 
bool isReserved () const
 
bool isUndefined () const
 
bool isExternal () const
 
Expected< StringRefgetName (StringRef StrTab) const
 

Detailed Description

template<class ELFT>
struct llvm::object::Elf_Sym_Impl< ELFT >

Definition at line 26 of file ELFTypes.h.

Member Function Documentation

template<class ELFT >
unsigned char llvm::object::Elf_Sym_Impl< ELFT >::getBinding ( ) const
inline

Definition at line 220 of file ELFTypes.h.

template<class ELFT >
Expected< StringRef > llvm::object::Elf_Sym_Impl< ELFT >::getName ( StringRef  StrTab) const
template<class ELFT >
unsigned char llvm::object::Elf_Sym_Impl< ELFT >::getType ( ) const
inline

Definition at line 221 of file ELFTypes.h.

template<class ELFT >
uint64_t llvm::object::Elf_Sym_Impl< ELFT >::getValue ( ) const
inline

Definition at line 222 of file ELFTypes.h.

template<class ELFT >
unsigned char llvm::object::Elf_Sym_Impl< ELFT >::getVisibility ( ) const
inline

Access to the STV_xxx flag stored in the first two bits of st_other.

STV_DEFAULT: 0 STV_INTERNAL: 1 STV_HIDDEN: 2 STV_PROTECTED: 3

Definition at line 234 of file ELFTypes.h.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isAbsolute ( ) const
inline

Definition at line 240 of file ELFTypes.h.

References llvm::ELF::SHN_ABS.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isCommon ( ) const
inline
template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isDefined ( ) const
inline

Definition at line 244 of file ELFTypes.h.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isExternal ( ) const
inline

Definition at line 257 of file ELFTypes.h.

References llvm::ELF::STB_LOCAL.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isOSSpecific ( ) const
inline

Definition at line 248 of file ELFTypes.h.

References llvm::ELF::SHN_HIOS, and llvm::ELF::SHN_LOOS.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isProcessorSpecific ( ) const
inline

Definition at line 245 of file ELFTypes.h.

References llvm::ELF::SHN_HIPROC, and llvm::ELF::SHN_LOPROC.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isReserved ( ) const
inline

Definition at line 251 of file ELFTypes.h.

References llvm::ELF::SHN_LORESERVE.

template<class ELFT >
bool llvm::object::Elf_Sym_Impl< ELFT >::isUndefined ( ) const
inline

Definition at line 256 of file ELFTypes.h.

References llvm::ELF::SHN_UNDEF.

template<class ELFT >
void llvm::object::Elf_Sym_Impl< ELFT >::setBinding ( unsigned char  b)
inline

Definition at line 223 of file ELFTypes.h.

References llvm::Intrinsic::getType().

template<class ELFT >
void llvm::object::Elf_Sym_Impl< ELFT >::setBindingAndType ( unsigned char  b,
unsigned char  t 
)
inline

Definition at line 225 of file ELFTypes.h.

template<class ELFT >
void llvm::object::Elf_Sym_Impl< ELFT >::setType ( unsigned char  t)
inline

Definition at line 224 of file ELFTypes.h.

template<class ELFT >
void llvm::object::Elf_Sym_Impl< ELFT >::setVisibility ( unsigned char  v)
inline

Definition at line 235 of file ELFTypes.h.

References assert().


The documentation for this struct was generated from the following file: