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

#include <ModuleSymbolTable.h>

Public Types

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

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 Triple &TheTriple, StringRef InlineAsm, 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 30 of file ModuleSymbolTable.h.

Member Typedef Documentation

typedef std::pair<std::string, uint32_t> llvm::ModuleSymbolTable::AsmSymbol

Definition at line 32 of file ModuleSymbolTable.h.

Definition at line 33 of file ModuleSymbolTable.h.

Member Function Documentation

void ModuleSymbolTable::addModule ( Module M)

Definition at line 40 of file ModuleSymbolTable.cpp.

References assert(), F, fuzzer::Flags, and llvm::Module::getTargetTriple().

void ModuleSymbolTable::CollectAsmSymbols ( const Triple TheTriple,
StringRef  InlineAsm,
function_ref< void(StringRef, object::BasicSymbolRef::Flags)>  AsmSymbol 
)
static
uint32_t ModuleSymbolTable::getSymbolFlags ( Symbol  S) const
void ModuleSymbolTable::printSymbolName ( raw_ostream OS,
Symbol  S 
) const
ArrayRef<Symbol> llvm::ModuleSymbolTable::symbols ( ) const
inline

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