[cfe-dev] Dumping CFG with clang -cc1 -analyze -analyzer-checker=debug.ViewCFG code.c

Prateek Saxen thisisprateeksaxena at gmail.com
Thu Feb 28 20:18:38 PST 2013


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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130301/a39058f7/attachment.html>


More information about the cfe-dev mailing list