Would you please file a bug in bugzilla http://llvm.org/bugs/ so we
can track this issue? Would you also attach the test file, the llvm-
ggc output and the equivalent output from gcc? Thank you.
Cheers,
-- Jim
On Sep 10, 2006, at 6:08 AM, Yossi Kreinin wrote:
> Hi!
>
> Apparently llvm-gcc ignores #line directives in source files when
> generating debug information. When I compile this:
>
> //test
> int f(int a)
> {
> #line 1 "someplace"
> return a*a;
> }
> //end
>
> with `llvm -g -S lines.c`, `someplace' is not mentioned in lines.s.
> It also looks like functions #included from header files get
> attributed to the #including file (albeit at the right line number).
>
> Is there an option to take #line into account that I am missing?
>
> Thanks in advance,
> Yossi
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2417 bytes
Desc: not available
URL:
<http://lists.llvm.org/pipermail/llvm-dev/attachments/20060910/31ba2962/attachment.bin>