[LLVMdev] Distinguish Global variables from functions

Duncan Sands baldrick at free.fr
Thu Jun 3 12:14:47 PDT 2010


Hi RAHUL GOYAL,

> I was writing a Function pass to print all the functions using
> runonFunction()  method .but it is printing one global variable "x" at
> the same time which i just dont know how is getting there.how can i
> avoid "x" from printing?? .

it would be helpful to see the bitcode you are running this on.

Ciao,

Duncan.



More information about the llvm-dev mailing list