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

Duncan Sands baldrick at free.fr
Mon Apr 26 05:13:36 PDT 2010


Hi Sheng,

> I tried llvm-gcc -g -O0 on several cases, but the column field of meta
> data always shows zero in created ll code.
>
> Does llvm-gcc emit column # info ? Or I should add some option?

as far as I knowm, llvm-gcc doesn't emit column info because it is based on
gcc-4.2 which has no support for column info.  I think gcc-4.5 has column
info, so the dragonegg plugin (http://dragonegg.llvm.org) could in theory
output column info, though it doesn't right now.

Ciao,

Duncan.



More information about the llvm-dev mailing list