LLVM  14.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ELF::Elf32_Sym Struct Reference

#include "llvm/BinaryFormat/ELF.h"

Collaboration diagram for llvm::ELF::Elf32_Sym:
Collaboration graph
[legend]

Public Member Functions

unsigned char getBinding () const
 
unsigned char getType () const
 
void setBinding (unsigned char b)
 
void setType (unsigned char t)
 
void setBindingAndType (unsigned char b, unsigned char t)
 

Public Attributes

Elf32_Word st_name
 
Elf32_Addr st_value
 
Elf32_Word st_size
 
unsigned char st_info
 
unsigned char st_other
 
Elf32_Half st_shndx
 

Detailed Description

Definition at line 1097 of file ELF.h.

Member Function Documentation

◆ getBinding()

unsigned char llvm::ELF::Elf32_Sym::getBinding ( ) const
inline

Definition at line 1107 of file ELF.h.

References st_info.

Referenced by setType().

◆ getType()

unsigned char llvm::ELF::Elf32_Sym::getType ( ) const
inline

Definition at line 1108 of file ELF.h.

References st_info.

Referenced by setBinding().

◆ setBinding()

void llvm::ELF::Elf32_Sym::setBinding ( unsigned char  b)
inline

Definition at line 1109 of file ELF.h.

References b, getType(), and setBindingAndType().

◆ setBindingAndType()

void llvm::ELF::Elf32_Sym::setBindingAndType ( unsigned char  b,
unsigned char  t 
)
inline

Definition at line 1111 of file ELF.h.

References b, and st_info.

Referenced by setBinding(), and setType().

◆ setType()

void llvm::ELF::Elf32_Sym::setType ( unsigned char  t)
inline

Definition at line 1110 of file ELF.h.

References getBinding(), and setBindingAndType().

Member Data Documentation

◆ st_info

unsigned char llvm::ELF::Elf32_Sym::st_info

Definition at line 1101 of file ELF.h.

Referenced by getBinding(), getType(), and setBindingAndType().

◆ st_name

Elf32_Word llvm::ELF::Elf32_Sym::st_name

Definition at line 1098 of file ELF.h.

◆ st_other

unsigned char llvm::ELF::Elf32_Sym::st_other

Definition at line 1102 of file ELF.h.

◆ st_shndx

Elf32_Half llvm::ELF::Elf32_Sym::st_shndx

Definition at line 1103 of file ELF.h.

◆ st_size

Elf32_Word llvm::ELF::Elf32_Sym::st_size

Definition at line 1100 of file ELF.h.

◆ st_value

Elf32_Addr llvm::ELF::Elf32_Sym::st_value

Definition at line 1099 of file ELF.h.


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