LLVM  3.7.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
 
ErrorOr< StringRefgetName (StringRef StrTab) const
 

Detailed Description

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

Definition at line 163 of file ELFTypes.h.

Member Function Documentation

template<class ELFT >
unsigned char llvm::object::Elf_Sym_Impl< ELFT >::getBinding ( ) const
inline
template<class ELFT >
ErrorOr< 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
template<class ELFT >
uint64_t llvm::object::Elf_Sym_Impl< ELFT >::getValue ( ) const
inline

Definition at line 173 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 185 of file ELFTypes.h.

Referenced by llvm::object::ELFObjectFile< ELFT >::getSymbolFlags(), and llvm::object::ELFObjectFile< ELFT >::isExportedToOtherDSO().

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

Definition at line 191 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 195 of file ELFTypes.h.

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

Definition at line 208 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 199 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 196 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 202 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 207 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 174 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 176 of file ELFTypes.h.

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

Definition at line 175 of file ELFTypes.h.

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

Definition at line 186 of file ELFTypes.h.


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