[LLVMdev] View variable-register map

Vijayaraghavan Murali m.vijay at nus.edu.sg
Fri Jan 21 05:48:02 PST 2011


Hello everyone,

I have started using LLVM only recently, so I'm a kind of a newbie. I'm 
using it to observe the effects of our path-sensitive analysis of the 
source code on register allocation.

I just wish to know if other than manually comparing the llc generated 
code with the source program, is there any other way of knowing which 
variables in the program are mapped to which registers? I was not able 
to find any suitable option for the same, so I'm wondering if there is a 
workaround.

Thank you!

------------
Vijayaraghavan Murali (Vijay)



More information about the llvm-dev mailing list