LLVM 20.0.0git
|
The location of the symbol table inside the binary is described by LC_SYMTAB load command. More...
#include "ObjCopy/MachO/MachOObject.h"
Public Types | |
using | iterator = pointee_iterator< std::vector< std::unique_ptr< SymbolEntry > >::const_iterator > |
Public Member Functions | |
iterator | begin () const |
iterator | end () const |
const SymbolEntry * | getSymbolByIndex (uint32_t Index) const |
SymbolEntry * | getSymbolByIndex (uint32_t Index) |
void | removeSymbols (function_ref< bool(const std::unique_ptr< SymbolEntry > &)> ToRemove) |
Public Attributes | |
std::vector< std::unique_ptr< SymbolEntry > > | Symbols |
The location of the symbol table inside the binary is described by LC_SYMTAB load command.
Definition at line 134 of file MachOObject.h.
using llvm::objcopy::macho::SymbolTable::iterator = pointee_iterator< std::vector<std::unique_ptr<SymbolEntry> >::const_iterator> |
Definition at line 137 of file MachOObject.h.
|
inline |
Definition at line 140 of file MachOObject.h.
References Symbols.
|
inline |
Definition at line 141 of file MachOObject.h.
References Symbols.
SymbolEntry * SymbolTable::getSymbolByIndex | ( | uint32_t | Index | ) |
Definition at line 31 of file MachOObject.cpp.
References getSymbolByIndex().
const SymbolEntry * SymbolTable::getSymbolByIndex | ( | uint32_t | Index | ) | const |
Definition at line 26 of file MachOObject.cpp.
References assert(), and Symbols.
Referenced by getSymbolByIndex().
void SymbolTable::removeSymbols | ( | function_ref< bool(const std::unique_ptr< SymbolEntry > &)> | ToRemove | ) |
Definition at line 36 of file MachOObject.cpp.
References llvm::erase_if(), Symbols, and ToRemove.
Referenced by llvm::objcopy::macho::Object::removeSections(), and updateAndRemoveSymbols().
std::vector<std::unique_ptr<SymbolEntry> > llvm::objcopy::macho::SymbolTable::Symbols |
Definition at line 135 of file MachOObject.h.
Referenced by begin(), end(), getSymbolByIndex(), llvm::objcopy::macho::Object::removeSections(), and removeSymbols().