LLVM API Documentation

Classes | Public Member Functions | Friends
llvm::object::ExportEntry Class Reference

#include <MachO.h>

List of all members.

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

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

ExportEntry::ExportEntry ( ArrayRef< uint8_t >  Trie)

Definition at line 1524 of file MachOObjectFile.cpp.


Member Function Documentation

uint64_t ExportEntry::address ( ) const
uint64_t ExportEntry::flags ( ) const

Definition at line 1566 of file MachOObjectFile.cpp.

References llvm::SmallString< InternalLen >::str().

uint32_t ExportEntry::nodeOffset ( ) const
bool ExportEntry::operator== ( const ExportEntry Other) const
uint64_t ExportEntry::other ( ) 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: