[LLVMdev] help

Duncan Sands baldrick at free.fr
Thu Jul 22 07:25:53 PDT 2010


Hi,

> Let us say there is an Instruction I in an IR.
> Is there any function using which I can know that in which line number
> this Instruction I lies in the original c++ file??

for this you need to use debug info.  It is a frequently asked question
so I suggest you search the mailing list archives.

Ciao,

Duncan.



More information about the llvm-dev mailing list