[LLVMbugs] [Bug 15405] New: Debug information not being generated

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 1 01:46:06 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15405

            Bug ID: 15405
           Summary: Debug information not being generated
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: alastair.donaldson at imperial.ac.uk
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10118
  --> http://llvm.org/bugs/attachment.cgi?id=10118&action=edit
Test case exposing the bug.

I have compiled CLANG/LLVM SVN revision 176261.

On the attached test case, I do:

clang -g -gcolumn-info -emit-llvm -S -O0 -o test.ll test.c

Looking at the two calls to 'baz' in test.ll, the first call does not have
debug information attached:

  call void @baz(i32 %land.ext)

while the second one does:

  call void @baz(i32 %5), !dbg !15

I believe this is a bug; I was expecting debug information to be attached to
every call.

Is this indeed a bug, or do I need some extra flag to force this information to
be generated?

Thanks

Ally

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130301/35cfc85a/attachment.html>


More information about the llvm-bugs mailing list