LLVM 18.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 639 of file ELFObject.h.

Member Function Documentation

◆ getShndx()

uint16_t Symbol::getShndx ( ) const

◆ isCommon()

bool Symbol::isCommon ( ) const

Definition at line 686 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

Definition at line 641 of file ELFObject.h.

Referenced by getShndx().

◆ Index

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

Definition at line 643 of file ELFObject.h.

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

◆ Name

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

Definition at line 644 of file ELFObject.h.

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

◆ NameIndex

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

Definition at line 645 of file ELFObject.h.

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

◆ Referenced

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

Definition at line 650 of file ELFObject.h.

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

◆ ShndxType

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

Definition at line 642 of file ELFObject.h.

Referenced by getShndx().

◆ Size

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

Definition at line 646 of file ELFObject.h.

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

◆ Type

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

Definition at line 647 of file ELFObject.h.

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

◆ Value

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

Definition at line 648 of file ELFObject.h.

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

◆ Visibility

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

Definition at line 649 of file ELFObject.h.

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


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