LLVM
8.0.1
|
ExportEntry encapsulates the current-state-of-the-walk used when doing a non-recursive walk of the trie data structure. More...
#include "llvm/Object/MachO.h"
Public Member Functions | |
ExportEntry (Error *Err, const MachOObjectFile *O, ArrayRef< uint8_t > Trie) | |
StringRef | name () const |
uint64_t | flags () const |
uint64_t | address () const |
uint64_t | other () const |
StringRef | otherName () const |
uint32_t | nodeOffset () const |
bool | operator== (const ExportEntry &) const |
void | moveNext () |
Friends | |
class | MachOObjectFile |
ExportEntry encapsulates the current-state-of-the-walk used when doing a non-recursive walk of the trie data structure.
This allows you to iterate across all exported symbols using: Error Err; for (const llvm::object::ExportEntry &AnExport : Obj->exports(&Err)) { } if (Err) { report error ...
ExportEntry::ExportEntry | ( | Error * | Err, |
const MachOObjectFile * | O, | ||
ArrayRef< uint8_t > | Trie | ||
) |
Definition at line 2712 of file MachOObjectFile.cpp.
References llvm::SmallVectorImpl< T >::clear(), and E.
uint64_t ExportEntry::address | ( | ) | const |
Definition at line 2763 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
uint64_t ExportEntry::flags | ( | ) | const |
Definition at line 2759 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
void ExportEntry::moveNext | ( | ) |
Definition at line 2986 of file MachOObjectFile.cpp.
References assert(), llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::ArrayRef< T >::begin(), E, llvm::SmallVectorBase::empty(), llvm::object::MachOObjectFile::exports(), malformedError(), llvm::RISCVFenceField::O, llvm::SmallVectorTemplateBase< T, bool >::pop_back(), llvm::SmallVectorImpl< T >::resize(), and llvm::Twine::utohexstr().
StringRef ExportEntry::name | ( | ) | const |
Definition at line 2755 of file MachOObjectFile.cpp.
uint32_t ExportEntry::nodeOffset | ( | ) | const |
Definition at line 2778 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), and llvm::ArrayRef< T >::begin().
bool ExportEntry::operator== | ( | const ExportEntry & | Other | ) | const |
Definition at line 2728 of file MachOObjectFile.cpp.
References llvm::SmallString< InternalLen >::equals(), and llvm::SmallVectorBase::size().
uint64_t ExportEntry::other | ( | ) | const |
Definition at line 2767 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
StringRef ExportEntry::otherName | ( | ) | const |
Definition at line 2771 of file MachOObjectFile.cpp.
|
friend |