[LLVMdev] Does llvm-gcc emit column # info?

Devang Patel devang.patel at gmail.com
Wed Apr 28 15:56:27 PDT 2010


2010/4/27 Duncan Sands <baldrick at free.fr>:
> Hi Kecheng,
>
>> But in the doc "Source Level Debugging with LLVM", it shows that llvm
>> 2.6 could get column number. There's an example in the doc as following:
>> http://llvm.org/docs/SourceLevelDebugging.html
>
> you are confusing what LLVM supports, and what a particular LLVM frontend
> (llvm-gcc) produces.  LLVM supports column numbers, but llvm-gcc does not
> generate them.  I think clang does however.

Yes, clang generates column number. I used clang to generate quoted LLVM IR.

However, as Duncan says,  LLVM IR supports column number and the
documented sited above describes how it is done in LLVM IR.

> Note that the document you cite
> does not say that llvm-gcc produces the example output.
>
> Ciao,
>
> Duncan.
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>



-- 
-
Devang




More information about the llvm-dev mailing list