|
LLVM
5.0.0
|
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 (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()) { }
| ExportEntry::ExportEntry | ( | ArrayRef< uint8_t > | Trie | ) |
Definition at line 2610 of file MachOObjectFile.cpp.
| uint64_t ExportEntry::address | ( | ) | const |
Definition at line 2659 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
| uint64_t ExportEntry::flags | ( | ) | const |
Definition at line 2655 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
| void ExportEntry::moveNext | ( | ) |
Definition at line 2740 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 2651 of file MachOObjectFile.cpp.
| uint32_t ExportEntry::nodeOffset | ( | ) | const |
Definition at line 2674 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 2622 of file MachOObjectFile.cpp.
References llvm::SmallString< InternalLen >::equals(), and llvm::SmallVectorTemplateCommon< T, typename >::size().
| uint64_t ExportEntry::other | ( | ) | const |
Definition at line 2663 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back().
| StringRef ExportEntry::otherName | ( | ) | const |
Definition at line 2667 of file MachOObjectFile.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), and ImportName.
|
friend |
1.8.6