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

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Feb 13 16:15:55 PST 2013


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

            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 at cs.uiuc.edu
          Reporter: daniel.malea at 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

-- 
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/20130214/46f6b0ec/attachment.html>


More information about the lldb-dev mailing list