[LLVMdev] Printing DSGraph in llvm-3.0

Ankita (Garg) Goel gargankita at gmail.com
Sat Nov 5 22:24:33 PDT 2011


Hi,

I am using the DSA analysis in llvm-3.0. I am interested in seeing the
resultant DSGraph for my sample input program. I tried the -dsa-only-print
parameter, but was not successful in getting the .dot file for the graph as
mentioned in Printer.cpp. The exact command that I tried is:

#opt -load <path-to-llvmdatastructures.so> -dsa-local -dsa-bu -dsa-td
-dsa-only-print < hello.bc

Is there anything else I need to do to get the graph ? Thanks a lot for
your help !

-- 
Regards,
Ankita
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111106/3e63bfde/attachment.html>


More information about the llvm-dev mailing list