LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::objcopy::elf::Symbol Struct Reference

#include "ObjCopy/ELF/ELFObject.h"

Public Member Functions

uint16_t getShndx () const
 
bool isCommon () const
 

Public Attributes

uint8_t Binding
 
SectionBaseDefinedIn = nullptr
 
SymbolShndxType ShndxType
 
uint32_t Index
 
std::string Name
 
uint32_t NameIndex
 
uint64_t Size
 
uint8_t Type
 
uint64_t Value
 
uint8_t Visibility
 
bool Referenced = false
 

Detailed Description

Definition at line 758 of file ELFObject.h.

Member Function Documentation

◆ getShndx()

uint16_t Symbol::getShndx ( ) const

◆ isCommon()

bool Symbol::isCommon ( ) const

Definition at line 706 of file ELFObject.cpp.

References getShndx(), and llvm::ELF::SHN_COMMON.

Referenced by updateAndRemoveSymbols().

Member Data Documentation

◆ Binding

uint8_t llvm::objcopy::elf::Symbol::Binding

◆ DefinedIn

SectionBase* llvm::objcopy::elf::Symbol::DefinedIn = nullptr

Definition at line 760 of file ELFObject.h.

Referenced by getShndx().

◆ Index

uint32_t llvm::objcopy::elf::Symbol::Index

Definition at line 762 of file ELFObject.h.

Referenced by llvm::objcopy::elf::GroupSection::finalize().

◆ Name

std::string llvm::objcopy::elf::Symbol::Name

◆ NameIndex

uint32_t llvm::objcopy::elf::Symbol::NameIndex

Definition at line 764 of file ELFObject.h.

Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().

◆ Referenced

bool llvm::objcopy::elf::Symbol::Referenced = false

◆ ShndxType

SymbolShndxType llvm::objcopy::elf::Symbol::ShndxType

Definition at line 761 of file ELFObject.h.

Referenced by getShndx().

◆ Size

uint64_t llvm::objcopy::elf::Symbol::Size

Definition at line 765 of file ELFObject.h.

Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().

◆ Type

uint8_t llvm::objcopy::elf::Symbol::Type

◆ Value

uint64_t llvm::objcopy::elf::Symbol::Value

Definition at line 767 of file ELFObject.h.

Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().

◆ Visibility

uint8_t llvm::objcopy::elf::Symbol::Visibility

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