|
LLVM 22.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 762 of file ELFObject.h.
| uint16_t Symbol::getShndx | ( | ) | const |
Definition at line 684 of file ELFObject.cpp.
References assert(), DefinedIn, 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 703 of file ELFObject.cpp.
References getShndx(), and llvm::ELF::SHN_COMMON.
| uint8_t llvm::objcopy::elf::Symbol::Binding |
Definition at line 763 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
| SectionBase* llvm::objcopy::elf::Symbol::DefinedIn = nullptr |
Definition at line 764 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), getShndx(), and llvm::objcopy::elf::SymbolTableSection::removeSectionReferences().
| uint32_t llvm::objcopy::elf::Symbol::Index |
Definition at line 766 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol().
| std::string llvm::objcopy::elf::Symbol::Name |
Definition at line 767 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol().
| uint32_t llvm::objcopy::elf::Symbol::NameIndex |
Definition at line 768 of file ELFObject.h.
Referenced by llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
| bool llvm::objcopy::elf::Symbol::Referenced = false |
Definition at line 773 of file ELFObject.h.
| SymbolShndxType llvm::objcopy::elf::Symbol::ShndxType |
Definition at line 765 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and getShndx().
| uint64_t llvm::objcopy::elf::Symbol::Size |
Definition at line 769 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
| uint8_t llvm::objcopy::elf::Symbol::Type |
Definition at line 770 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
| uint64_t llvm::objcopy::elf::Symbol::Value |
Definition at line 771 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().
| uint8_t llvm::objcopy::elf::Symbol::Visibility |
Definition at line 772 of file ELFObject.h.
Referenced by llvm::objcopy::elf::SymbolTableSection::addSymbol(), and llvm::objcopy::elf::ELFSectionWriter< ELFT >::visit().