LLVM 20.0.0git
|
#include "ObjCopy/ELF/ELFObject.h"
Public Member Functions | |
uint16_t | getShndx () const |
bool | isCommon () const |
Public Attributes | |
uint8_t | Binding |
SectionBase * | DefinedIn = 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 |
Definition at line 758 of file ELFObject.h.
uint16_t Symbol::getShndx | ( | ) | const |
Definition at line 684 of file ELFObject.cpp.
References assert(), DefinedIn, llvm::objcopy::elf::SectionBase::Index, llvm::ELF::SHN_LORESERVE, llvm::ELF::SHN_UNDEF, llvm::ELF::SHN_XINDEX, ShndxType, llvm::objcopy::elf::SYMBOL_ABS, llvm::objcopy::elf::SYMBOL_COMMON, llvm::objcopy::elf::SYMBOL_HIOS, llvm::objcopy::elf::SYMBOL_HIPROC, llvm::objcopy::elf::SYMBOL_LOOS, llvm::objcopy::elf::SYMBOL_LOPROC, and llvm::objcopy::elf::SYMBOL_SIMPLE_INDEX.
Referenced by isAArch64MappingSymbol(), isArmMappingSymbol(), isCommon(), isUnneededSymbol(), updateAndRemoveSymbols(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
bool Symbol::isCommon | ( | ) | const |
Definition at line 703 of file ELFObject.cpp.
References getShndx(), and llvm::ELF::SHN_COMMON.
Referenced by updateAndRemoveSymbols().
uint8_t llvm::objcopy::elf::Symbol::Binding |
Definition at line 759 of file ELFObject.h.
Referenced by llvm::objcopy::elf::GroupSection::finalize(), isAArch64MappingSymbol(), isArmMappingSymbol(), isUnneededSymbol(), updateAndRemoveSymbols(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
SectionBase* llvm::objcopy::elf::Symbol::DefinedIn = nullptr |
Definition at line 760 of file ELFObject.h.
Referenced by getShndx().
uint32_t llvm::objcopy::elf::Symbol::Index |
Definition at line 762 of file ELFObject.h.
Referenced by llvm::objcopy::elf::GroupSection::finalize().
std::string llvm::objcopy::elf::Symbol::Name |
Definition at line 763 of file ELFObject.h.
Referenced by isAArch64MappingSymbol(), isArmMappingSymbol(), llvm::objcopy::elf::GroupSection::removeSymbols(), and updateAndRemoveSymbols().
uint32_t llvm::objcopy::elf::Symbol::NameIndex |
Definition at line 764 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
bool llvm::objcopy::elf::Symbol::Referenced = false |
Definition at line 769 of file ELFObject.h.
Referenced by isUnneededSymbol(), llvm::objcopy::elf::GroupSection::markSymbols(), and updateAndRemoveSymbols().
SymbolShndxType llvm::objcopy::elf::Symbol::ShndxType |
Definition at line 761 of file ELFObject.h.
Referenced by getShndx().
uint64_t llvm::objcopy::elf::Symbol::Size |
Definition at line 765 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
uint8_t llvm::objcopy::elf::Symbol::Type |
Definition at line 766 of file ELFObject.h.
Referenced by isAArch64MappingSymbol(), isArmMappingSymbol(), isUnneededSymbol(), updateAndRemoveSymbols(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
uint64_t llvm::objcopy::elf::Symbol::Value |
Definition at line 767 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
uint8_t llvm::objcopy::elf::Symbol::Visibility |
Definition at line 768 of file ELFObject.h.
Referenced by updateAndRemoveSymbols(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().