[llvm-bugs] [Bug 45406] New: DebugInfo: Missing parameter location on entry to a function before immediate clobbering

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Apr 2 18:34:56 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=45406

            Bug ID: 45406
           Summary: DebugInfo: Missing parameter location on entry to a
                    function before immediate clobbering
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: dblaikie at gmail.com
                CC: cmtice at google.com, i at maskray.me,
                    jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com
            Blocks: 31268

extern int x;
  void f1(int i) {
    i = x;
  }

This has no location for 'i' (the store from 'x' was dead, so it was removed).
It'd be nice to have a location for 'i' on entry to the function, even if it's
immediately clobbered once the first instruction of the function is executed.


Referenced Bugs:

https://bugs.llvm.org/show_bug.cgi?id=31268
[Bug 31268] Umbrella: debug info for optimized code
-- 
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/20200403/952c5a3f/attachment.html>


More information about the llvm-bugs mailing list