[LLVMdev] source code information in LLVM IR
Devang Patel
devang.patel at gmail.com
Fri Mar 26 12:10:59 PDT 2010
On Fri, Mar 26, 2010 at 1:54 AM, Duncan Sands <baldrick at free.fr> wrote:
> 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.
>
I just updated SourceLevelDebugging.html.
Please feel free to improve the paragraph if it needs further clarification.
-
Devang
More information about the llvm-dev
mailing list