<div dir="ltr">Hi,<div><br></div><div>Looking at the source code of the CFG (<a href="http://clang.llvm.org/doxygen/CFG_8cpp_source.html">http://clang.llvm.org/doxygen/CFG_8cpp_source.html</a>) and the LLVM passes page in (<a href="http://llvm.org/docs/Passes.html">http://llvm.org/docs/Passes.html</a>) for instance "opt dot-cfg <LLVM_IR.ll>", is there a way to generate the control-flow-gragh for the whole foo.c file ? </div><div><br></div><div>The output that I am seeing is the CFG per each function and even if I cat all the .dot files to generate a new .ps file I have neglected the relation between the functions. Does anyone know a way?</div><div><br></div><div>Regards,</div><div><br></div><div>-Amir</div></div>