[LLVMdev] viewing dags
shreyas76 at gmail.com
Thu Sep 3 18:21:47 PDT 2009
I would like to view the various dags being output during codegen.
Unfortunately, I am not seeing the files being dumped. I will really
appreciate if someone can help me here
llc switch.bc -f -view-dag-combine1-dags ( i tried -view-isel-dags,
-view-sched-dags as well)
Writing '/tmp/llvm_zbbAKM/dag.main.dot'... done.
Writing '/tmp/llvm_G4rLKf/dag.main.dot'... done.
Writing '/tmp/llvm_mv0TMI/dag.main.dot'... done.
Writing '/tmp/llvm_adT8Ob/dag.main.dot'... done.
Writing '/tmp/llvm_RcYsRE/dag.main.dot'... done.
Writing '/tmp/llvm_wvfTT7/dag.main.dot'... done.
Writing '/tmp/llvm_IskqWA/dag.main.dot'... done.
Writing '/tmp/llvm_ZvQ1Y3/dag.main.dot'... done.
Writing '/tmp/llvm_IDaJ1w/dag.main.dot'... done.
Writing '/tmp/llvm_iU7v4Z/dag.main.dot'... done.
Writing '/tmp/llvm_td7n7s/dag.main.dot'... done.
Writing '/tmp/llvm_OinkaW/dag.main.dot'... done.
Writing '/tmp/llvm_BiZmdp/dag.main.dot'... done.
I find none of the files - dag.main.dot created but the llvm*
directories do get created. I do have permissions to the directory.
I do have dotty in my path but that I would imagine should only cause
issues with viewing the graph.
thanks for your help!
More information about the llvm-dev