LLVM  5.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 "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
 

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 71 of file MachO.h.

Constructor & Destructor Documentation

ExportEntry::ExportEntry ( ArrayRef< uint8_t >  Trie)

Definition at line 2610 of file MachOObjectFile.cpp.

Member Function Documentation

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

Definition at line 2651 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 87 of file MachO.h.


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