[LLVMdev] source code information in LLVM IR
Duncan Sands
baldrick at free.fr
Fri Mar 26 01:54:22 PDT 2010
Hi Arvind,
> I am generating llvm IR code for C source code using clang as the
> front end. I am wondering if there is any way of mapping an llvm IR
> line number back to its C source code line number.
this is a frequently asked question, so you should be able to find plenty
of info by searching the mailing list archives. The usual answer is to
use debug info.
Ciao,
Duncan.
More information about the llvm-dev
mailing list