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: unassignedb...@nondot.org
          Reporter: paul_robin...@playstation.sony.com
                CC: jdevliegh...@apple.com, keith.wal...@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robin...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to