[lldb-dev] [Bug 39796] New: ExpressionParser: Couldn't materialize: size of variable l_32 (2628) is larger than the ValueObject's size (144)

via lldb-dev lldb-dev at lists.llvm.org
Mon Nov 26 17:17:12 PST 2018


https://bugs.llvm.org/show_bug.cgi?id=39796

            Bug ID: 39796
           Summary: ExpressionParser: Couldn't materialize: size of
                    variable l_32 (2628) is larger than the ValueObject's
                    size (144)
           Product: lldb
           Version: 7.0
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: davide at freebsd.org
                CC: llvm-bugs at lists.llvm.org

$ ./clang a-prepro.c -g -O1 -Wno-everything

$ ./lldb ./a.out

(lldb) br set -l 2163
Breakpoint 1: where = a.out`func_1 + 4 at a-prepro.c:2163:21, address =
0x0000000100000f24
(lldb) r
[…]

(lldb) frame var l_32
(const uint32_t [6][6]) l_32 = {
  [0] = ([0] = 0, [1] = 0, [2] = 0, [3] = 0, [4] = 0, [5] = 0)
  [1] = ([0] = 0, [1] = 0, [2] = 0, [3] = 1, [4] = 0, [5] = 196608)
  [2] = ([0] = 0, [1] = 0, [2] = 0, [3] = 0, [4] = 0, [5] = 0)
  [3] = ([0] = 0, [1] = 0, [2] = 0, [3] = 1, [4] = 0, [5] = 229276)
  [4] = ([0] = 969030944, [1] = 32668, [2] = 969032560, [3] = 32668, [4] =
989861584, [5] = 32668)
  [5] = ([0] = 842227457, [1] = 2065710368, [2] = 1, [3] = 0, [4] = 990120960,
[5] = 32668)
}
(lldb) p l_32
error: Couldn't materialize: size of variable l_32 (2628) is larger than the
ValueObject's size (144)
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression

-- 
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/20181127/90151c24/attachment.html>


More information about the lldb-dev mailing list