[cfe-users] Dumping CFG with clang -cc1 -analyze -analyzer-checker=debug.DumpCFG
Anna Zaks
ganna at apple.com
Thu Feb 28 22:21:00 PST 2013
The idea is that debug.ViewCFG would open the viewer and display the graph (this is why the file is stored into a tmp directory). Whereas debug.DumpCFG dumps the textual version to the standard out. Both are debugging aids and I don't think there is a command line option to store the output into a particular directory.
Cheers,
Anna.
On Feb 28, 2013, at 8:06 PM, Prateek Saxen <thisisprateeksaxena at gmail.com> wrote:
> When dumping CFG using the above-mentioned option, I get the following output on the screen:
>
> $ Writing '/tmp/llvm_IqkHDb/CFG.dot'... done.
>
> I want to CFG.dot file to be created a particular directory instead of /tmp/llvm_*random*/.
> How do I specify this information in the command?
> _______________________________________________
> cfe-users mailing list
> cfe-users at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users
More information about the cfe-users
mailing list