LLVM 20.0.0git
|
#include "llvm/Object/Archive.h"
Public Member Functions | |
Symbol (const Archive *p, uint32_t symi, uint32_t stri) | |
bool | operator== (const Symbol &other) const |
StringRef | getName () const |
Expected< Child > | getMember () const |
Symbol | getNext () const |
bool | isECSymbol () const |
Expected< Archive::Child > Archive::Symbol::getMember | ( | ) | const |
Definition at line 1021 of file Archive.cpp.
References llvm::CallingConv::C, llvm::errorCodeToError(), llvm::object::Archive::K_AIXBIG, llvm::object::Archive::K_BSD, llvm::object::Archive::K_DARWIN64, llvm::object::Archive::K_GNU, llvm::object::Archive::K_GNU64, llvm::Offset, llvm::object::parse_failed, llvm::support::endian::read16le(), llvm::support::endian::read32be(), llvm::support::endian::read32le(), llvm::support::endian::read64be(), llvm::support::endian::read64le(), and llvm::Error::success().
Referenced by llvm::object::Archive::findSym().
StringRef Archive::Symbol::getName | ( | ) | const |
Definition at line 1015 of file Archive.cpp.
References llvm::StringRef::begin().
Referenced by llvm::object::Archive::findSym().
Archive::Symbol Archive::Symbol::getNext | ( | ) | const |
Definition at line 1091 of file Archive.cpp.
References isECSymbol(), llvm::object::Archive::K_BSD, and llvm::support::endian::read32le().
Referenced by llvm::object::Archive::symbol_iterator::operator++().
bool Archive::Symbol::isECSymbol | ( | ) | const |
Definition at line 1007 of file Archive.cpp.
References llvm::object::Archive::getNumberOfECSymbols(), and llvm::object::Archive::getNumberOfSymbols().
Referenced by getNext().