struct SymbolTable

Declaration

struct SymbolTable { /* full declaration omitted */ };

Description

The location of the symbol table inside the binary is described by LC_SYMTAB load command.

Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:139

Member Variables

public std::vector<std::unique_ptr<SymbolEntry>> Symbols

Method Overview

  • public llvm::objcopy::macho::SymbolTable::iterator begin() const
  • public llvm::objcopy::macho::SymbolTable::iterator end() const
  • public const llvm::objcopy::macho::SymbolEntry * getSymbolByIndex(uint32_t Index) const
  • public llvm::objcopy::macho::SymbolEntry * getSymbolByIndex(uint32_t Index)
  • public void removeSymbols(function_ref<bool (const std::unique_ptr<SymbolEntry> &)> ToRemove)

Methods

llvm::objcopy::macho::SymbolTable::iterator
begin() const

Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:145

llvm::objcopy::macho::SymbolTable::iterator end()
    const

Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:146

const llvm::objcopy::macho::SymbolEntry*
getSymbolByIndex(uint32_t Index) const

Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:148

Parameters

uint32_t Index

llvm::objcopy::macho::SymbolEntry*
getSymbolByIndex(uint32_t Index)

Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:149

Parameters

uint32_t Index

void removeSymbols(
    function_ref<
        bool(const std::unique_ptr<SymbolEntry>&)>
        ToRemove)

Declared at: llvm/lib/ObjCopy/MachO/MachOObject.h:150

Parameters

function_ref<bool( const std::unique_ptr<SymbolEntry>&)> ToRemove