static IncludeFile
CALLGRAPH_INCLUDE_FILE(&CallGraph::stub);
-extern void BasicCallGraphStub();
-static IncludeFile HDR_INCLUDE_CALLGRAPH_CPP((void*)&BasicCallGraphStub);
+extern int BasicCallGraphStub;
+static IncludeFile HDR_INCLUDE_CALLGRAPH_CPP(&BasicCallGraphStub);
} // End llvm namespace
#include <iostream>
using namespace llvm;
-void llvm::BasicCallGraphStub() {}
+int llvm::BasicCallGraphStub;
static bool isOnlyADirectCall(Function *F, CallSite CS) {
if (!CS.getInstruction()) return false;