[LLVMbugs] [Bug 22099] New: Locals have no debug location even when live at O2

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 5 16:09:33 PST 2015


            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: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: llvmbugs at cs.uiuc.edu
    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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150106/8714e44b/attachment.html>

More information about the llvm-bugs mailing list