//
//===----------------------------------------------------------------------===//
-#include "llvm/Transforms/Instrumentation/EmitFunctions.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Constants.h"
RegisterOpt<EmitFunctionTable> X("emitfuncs", "Emit a Function Table");
}
-// Create a new pass to add function table
-//
-Pass *createEmitFunctionTablePass() {
- return new EmitFunctionTable();
-}
-
// Per Module pass for inserting function table
bool EmitFunctionTable::run(Module &M){
vector<const Type*> vType;