[Bug 15261] New: lldb on Linux does not display the correct size of static arrays

Bug ID 15261
Summary lldb on Linux does not display the correct size of static arrays
Product lldb
Version unspecified
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@cs.uiuc.edu
Reporter daniel.malea@intel.com
Classification Unclassified

The test case TestStaticVariables fails because lldb prints empty
square-brackets instead of the size of static arrays. The test verifies both
class-static and file-static arrays, and both fail.

To reproduce, run:

python dotest.py lang/cpp/class_static

The relevant failure trace is:

runCmd: target variable A::g_points
output: (PointType []) A::g_points = {}

Expecting sub string: (PointType [2]) A::g_points
Not matched