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

            Bug ID: 22099
           Summary: Locals have no debug location even when live at O2
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

Created attachment 13632
  --> http://llvm.org/bugs/attachment.cgi?id=13632&action=edit
Sample source

In the attached source, compiled with -O2 -g on x86-64 Linux, the local
variable "op" is live for at least several instructions, but the debug info 
shows no location for it.  We ought to be able to keep track of that.

The local "delta" is live for one instruction, but also has no location in 
the debug info. That one seems a little iffier but seemed worth mentioning.

I won't have time to look at this for a while, so I figured I'd post the
bug in case somebody else got inspired.  Source and .s attached.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to