LLVM 18.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 639 of file ELFObject.h.
uint16_t Symbol::getShndx | ( | ) | const |
Definition at line 667 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 isCommon(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
bool Symbol::isCommon | ( | ) | const |
Definition at line 686 of file ELFObject.cpp.
References getShndx(), and llvm::ELF::SHN_COMMON.
uint8_t llvm::objcopy::elf::Symbol::Binding |
Definition at line 640 of file ELFObject.h.
Referenced by llvm::objcopy::elf::GroupSection::finalize(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
SectionBase* llvm::objcopy::elf::Symbol::DefinedIn = nullptr |
Definition at line 641 of file ELFObject.h.
Referenced by getShndx().
uint32_t llvm::objcopy::elf::Symbol::Index |
Definition at line 643 of file ELFObject.h.
Referenced by llvm::objcopy::elf::GroupSection::finalize().
std::string llvm::objcopy::elf::Symbol::Name |
Definition at line 644 of file ELFObject.h.
Referenced by llvm::objcopy::elf::GroupSection::removeSymbols().
uint32_t llvm::objcopy::elf::Symbol::NameIndex |
Definition at line 645 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
bool llvm::objcopy::elf::Symbol::Referenced = false |
Definition at line 650 of file ELFObject.h.
Referenced by llvm::objcopy::elf::GroupSection::markSymbols().
SymbolShndxType llvm::objcopy::elf::Symbol::ShndxType |
Definition at line 642 of file ELFObject.h.
Referenced by getShndx().
uint64_t llvm::objcopy::elf::Symbol::Size |
Definition at line 646 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
uint8_t llvm::objcopy::elf::Symbol::Type |
Definition at line 647 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
uint64_t llvm::objcopy::elf::Symbol::Value |
Definition at line 648 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
uint8_t llvm::objcopy::elf::Symbol::Visibility |
Definition at line 649 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().