Create a legacy pass that prints the call graph as DOT.
Declared in <llvm/Analysis/CallPrinter.h>
<llvm/Analysis/CallPrinter.h>
ModulePass* createCallGraphDOTPrinterPass();
A ModulePass that writes the call graph to a DOT file.