LLVM API Documentation
#include <MachO.h>
Classes | |
struct | NodeState |
Public Member Functions | |
ExportEntry (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: for (const llvm::object::ExportEntry &AnExport : Obj->exports()) { }
Definition at line 57 of file Object/MachO.h.
ExportEntry::ExportEntry | ( | ArrayRef< uint8_t > | Trie | ) |
Definition at line 1524 of file MachOObjectFile.cpp.
uint64_t ExportEntry::address | ( | ) | const |
Definition at line 1574 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
uint64_t ExportEntry::flags | ( | ) | const |
Definition at line 1570 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
void ExportEntry::moveNext | ( | ) |
Definition at line 1658 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateBase< T, isPodLike >::pop_back(), and llvm::SmallVectorImpl< T >::resize().
StringRef ExportEntry::name | ( | ) | const |
Definition at line 1566 of file MachOObjectFile.cpp.
References llvm::SmallString< InternalLen >::str().
uint32_t ExportEntry::nodeOffset | ( | ) | const |
Definition at line 1589 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 1537 of file MachOObjectFile.cpp.
References llvm::StringRef::equals(), llvm::SmallVectorTemplateCommon< T, typename >::size(), and llvm::SmallString< InternalLen >::str().
uint64_t ExportEntry::other | ( | ) | const |
Definition at line 1578 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
StringRef ExportEntry::otherName | ( | ) | const |
Definition at line 1582 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
friend class MachOObjectFile [friend] |
Definition at line 73 of file Object/MachO.h.