Dumping CFG with clang -cc1 -analyze -analyzer-checker=debug.DumpCFG

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?

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.