LLVM 20.0.0git
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 (Error *Err, const MachOObjectFile *O, 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: Error Err = Error::success(); for (const llvm::object::ExportEntry &AnExport : Obj->exports(&Err)) { } if (Err) { report error ...

Definition at line 73 of file MachO.h.

Constructor & Destructor Documentation

◆ ExportEntry()

ExportEntry::ExportEntry ( Error Err,
const MachOObjectFile O,
ArrayRef< uint8_t >  Trie 
)

Definition at line 2922 of file MachOObjectFile.cpp.

Member Function Documentation

◆ address()

uint64_t ExportEntry::address ( ) const

◆ flags()

uint64_t ExportEntry::flags ( ) const

◆ moveNext()

void ExportEntry::moveNext ( )

◆ name()

StringRef ExportEntry::name ( ) const

Definition at line 2965 of file MachOObjectFile.cpp.

◆ nodeOffset()

uint32_t ExportEntry::nodeOffset ( ) const

◆ operator==()

bool ExportEntry::operator== ( const ExportEntry Other) const

◆ other()

uint64_t ExportEntry::other ( ) const

◆ otherName()

StringRef ExportEntry::otherName ( ) const

Friends And Related Function Documentation

◆ MachOObjectFile

friend class MachOObjectFile
friend

Definition at line 89 of file MachO.h.


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