[lldb-dev] [Bug 16793] New: LLDB doesn't properly handle DW_AT_byte_size == 0 with DW_TAG_array_type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Aug 5 10:06:15 PDT 2013


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

            Bug ID: 16793
           Summary: LLDB doesn't properly handle DW_AT_byte_size == 0 with
                    DW_TAG_array_type
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: andrew.kaylor at intel.com
    Classification: Unclassified

When you use icc to compile the test/lang/c/struct_types test case, the
compiler generates DWARF information describing the type zero-length array
member variable using DW_TAG_array_type and includes the DW_AT_byte_size
attribute with a value of zero.  LLDB is able to display this member using the
'frame variable' command, but using it as part of an array fails with an error
claiming that it is not an array variable.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130805/a6fb3f12/attachment.html>


More information about the lldb-dev mailing list