|
LLVM
4.0.0
|
ExportEntry encapsulates the current-state-of-the-walk used when doing a non-recursive walk of the trie data structure. More...
#include <MachO.h>
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.
| llvm::object::ExportEntry::ExportEntry | ( | ArrayRef< uint8_t > | Trie | ) |
| uint64_t ExportEntry::address | ( | ) | const |
Definition at line 2550 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
| uint64_t ExportEntry::flags | ( | ) | const |
Definition at line 2546 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
| void ExportEntry::moveNext | ( | ) |
Definition at line 2633 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 2542 of file MachOObjectFile.cpp.
| uint32_t ExportEntry::nodeOffset | ( | ) | const |
Definition at line 2565 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 2513 of file MachOObjectFile.cpp.
References llvm::SmallString< InternalLen >::equals(), i, and llvm::SmallVectorTemplateCommon< T, typename >::size().
| uint64_t ExportEntry::other | ( | ) | const |
Definition at line 2554 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
| StringRef ExportEntry::otherName | ( | ) | const |
Definition at line 2558 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
|
friend |
Definition at line 73 of file Object/MachO.h.
1.8.6