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

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@cs.uiuc.edu
Reporter andrew.kaylor@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.