class ExportEntry

Declaration

class ExportEntry { /* full declaration omitted */ };

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 ...

Declared at: llvm/include/llvm/Object/MachO.h:73

Member Variables

private llvm::Error* E
private const llvm::object::MachOObjectFile* O
private ArrayRef<uint8_t> Trie
private SmallString<256> CumulativeString
private llvm::object::ExportEntry::NodeList Stack
private bool Done = false

Method Overview

Methods

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

Declared at: llvm/include/llvm/Object/MachO.h:75

Parameters

llvm::Error* Err
const llvm::object::MachOObjectFile* O
ArrayRef<uint8_t> Trie

uint64_t address() const

Declared at: llvm/include/llvm/Object/MachO.h:79

uint64_t flags() const

Declared at: llvm/include/llvm/Object/MachO.h:78

void moveNext()

Declared at: llvm/include/llvm/Object/MachO.h:86

void moveToEnd()

Declared at: llvm/include/llvm/Object/MachO.h:92

void moveToFirst()

Declared at: llvm/include/llvm/Object/MachO.h:91

llvm::StringRef name() const

Declared at: llvm/include/llvm/Object/MachO.h:77

uint32_t nodeOffset() const

Declared at: llvm/include/llvm/Object/MachO.h:82

iterator_range<
    llvm::object::ExportEntry::node_iterator>
nodes() const

Declared at: llvm/include/llvm/Object/MachO.h:122

uint64_t other() const

Declared at: llvm/include/llvm/Object/MachO.h:80

llvm::StringRef otherName() const

Declared at: llvm/include/llvm/Object/MachO.h:81

void pushDownUntilBottom()

Declared at: llvm/include/llvm/Object/MachO.h:94

void pushNode(uint64_t Offset)

Declared at: llvm/include/llvm/Object/MachO.h:95

Parameters

uint64_t Offset

uint64_t readULEB128(const uint8_t*& p,
                     const char** error)

Declared at: llvm/include/llvm/Object/MachO.h:93

Parameters

const uint8_t*& p
const char** error