[LLVMdev] newbie questions

George Baah baah at cc.gatech.edu
Mon Mar 21 11:16:29 PDT 2011


Hi Everyone,
   I am new to LLVM. I have two questions.

1) Is there a program dependence graph implementation in llvm?

2) I am trying to instrument a program to print line number, function  
containing computation, and variable values.
For example,


print(function-name:line-number: k : y : ">");
if(k > y)
x = a + b;
print(function-name: line-number: x);

How can I go about doing this? Thanks.

George



More information about the llvm-dev mailing list