LLVM 22.0.0git
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 762 of file ELFObject.h.

Member Function Documentation

◆ getShndx()

◆ isCommon()

bool Symbol::isCommon ( ) const

Definition at line 703 of file ELFObject.cpp.

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

Member Data Documentation

◆ Binding

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

◆ DefinedIn

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

◆ Index

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

Definition at line 766 of file ELFObject.h.

Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol().

◆ Name

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

Definition at line 767 of file ELFObject.h.

Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol().

◆ NameIndex

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

Definition at line 768 of file ELFObject.h.

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

◆ Referenced

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

Definition at line 773 of file ELFObject.h.

◆ ShndxType

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

Definition at line 765 of file ELFObject.h.

Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and getShndx().

◆ Size

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

◆ Type

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

◆ Value

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

◆ Visibility

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

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