[llvm-bugs] [Bug 41152] New: [DebugInfo] Better dumping of empty location expression

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Mar 20 03:59:52 PDT 2019


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

            Bug ID: 41152
           Summary: [DebugInfo] Better dumping of empty location
                    expression
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs at nondot.org
          Reporter: paul_robinson at playstation.sony.com
                CC: jdevlieghere at apple.com, keith.walker at arm.com,
                    llvm-bugs at lists.llvm.org,
                    paul_robinson at playstation.sony.com

In https://reviews.llvm.org/D59518 it was observed that dumping a
location-list entry with an empty (zero-length) location expression doesn't
provide an explicit indication that the expression is in fact empty.  Here's
the snippet from llvm/test/MC/X86/dwarf-size-field-overflow.test:

+# CHECK-NEXT:      DW_AT_location   (0x00000000
+# CHECK-NEXT:           [0x0000000000000000,  0x0000000000000008): )
+# CHECK-NEXT:      DW_AT_name   ("self")

It would be nice to dump this in a less subtle way.

-- 
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/20190320/d91870e3/attachment-0001.html>


More information about the llvm-bugs mailing list