[LLVMdev] Mapping between LLVM bitcode and C source

Prakash Prabhu prakash.prabhu at gmail.com
Wed Jan 14 14:14:47 PST 2009


Hi,

Is there a way, from within an opt pass, to find the correspondence
between an LLVM IR object and C source code (basically line number
info similar to the one used with gcc + gdb to help debugging ),
assuming either a llvm-gcc front end ?

Sorry if this question was asked before.

Thanks for your time.

- Prakash



More information about the llvm-dev mailing list