LLVM  6.0.0svn
Public Types | Public Member Functions | Static Public Member Functions | List of all members
llvm::ModuleSymbolTable Class Reference

#include "llvm/Object/ModuleSymbolTable.h"

Public Types

using AsmSymbol = std::pair< std::string, uint32_t >
using Symbol = PointerUnion< GlobalValue *, AsmSymbol * >

Public Member Functions

ArrayRef< Symbolsymbols () const
void addModule (Module *M)
void printSymbolName (raw_ostream &OS, Symbol S) const
uint32_t getSymbolFlags (Symbol S) const

Static Public Member Functions

static void CollectAsmSymbols (const Module &M, function_ref< void(StringRef, object::BasicSymbolRef::Flags)> AsmSymbol)
 Parse inline ASM and collect the symbols that are defined or referenced in the current module. More...

Detailed Description

Definition at line 33 of file ModuleSymbolTable.h.

Member Typedef Documentation

◆ AsmSymbol

using llvm::ModuleSymbolTable::AsmSymbol = std::pair<std::string, uint32_t>

Definition at line 35 of file ModuleSymbolTable.h.

◆ Symbol

Definition at line 36 of file ModuleSymbolTable.h.

Member Function Documentation

◆ addModule()

void ModuleSymbolTable::addModule ( Module M)

◆ CollectAsmSymbols()

void ModuleSymbolTable::CollectAsmSymbols ( const Module M,
function_ref< void(StringRef, object::BasicSymbolRef::Flags)>  AsmSymbol 

◆ getSymbolFlags()

uint32_t ModuleSymbolTable::getSymbolFlags ( Symbol  S) const

◆ printSymbolName()

void ModuleSymbolTable::printSymbolName ( raw_ostream OS,
Symbol  S 
) const

◆ symbols()

ArrayRef<Symbol> llvm::ModuleSymbolTable::symbols ( ) const

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