LLVM API Documentation

DynamicLibrary.cpp File Reference

#include "llvm/System/DynamicLibrary.h"
#include "llvm/Config/config.h"
#include <cstdio>
#include <cstring>
#include <map>
#include <dlfcn.h>
#include <cassert>

Include dependency graph for DynamicLibrary.cpp:

Go to the source code of this file.

Defines

#define EXPLICIT_SYMBOL(SYM)   extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM
#define EXPLICIT_SYMBOL(SYM)   if (!strcmp(symbolName, #SYM)) return &SYM

Variables

static std::map< std::string,
void * > 
g_symbols
static std::vector< void * > OpenedHandles


Define Documentation

#define EXPLICIT_SYMBOL ( SYM   )     if (!strcmp(symbolName, #SYM)) return &SYM

#define EXPLICIT_SYMBOL ( SYM   )     extern void *SYM; if (!strcmp(symbolName, #SYM)) return &SYM


Variable Documentation

std::map<std::string, void *> g_symbols [static]

std::vector<void *> OpenedHandles [static]




This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.