[LLVMdev] CFG for the whole c file

Amir H. Ashouri amirhossein.ashouri at gmail.com
Thu Oct 23 14:46:25 PDT 2014


Looking at the source code of the CFG (
http://clang.llvm.org/doxygen/CFG_8cpp_source.html) and the LLVM passes
page in (http://llvm.org/docs/Passes.html) for instance "opt dot-cfg
<LLVM_IR.ll>", is there a way to generate the control-flow-gragh for the
whole foo.c file ?

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?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141023/56ed19dd/attachment.html>

More information about the llvm-dev mailing list