LLVM  4.0.0
Classes | Public Member Functions | Friends | List of all members
llvm::object::ExportEntry Class Reference

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
 

Detailed Description

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.

Constructor & Destructor Documentation

llvm::object::ExportEntry::ExportEntry ( ArrayRef< uint8_t >  Trie)

Member Function Documentation

uint64_t ExportEntry::address ( ) const
uint64_t ExportEntry::flags ( ) const
void ExportEntry::moveNext ( )
StringRef ExportEntry::name ( ) const

Definition at line 2542 of file MachOObjectFile.cpp.

uint32_t ExportEntry::nodeOffset ( ) const
bool ExportEntry::operator== ( const ExportEntry Other) const
uint64_t ExportEntry::other ( ) const
StringRef ExportEntry::otherName ( ) const

Friends And Related Function Documentation

friend class MachOObjectFile
friend

Definition at line 73 of file Object/MachO.h.


The documentation for this class was generated from the following files: