<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Expression parser: Couldn't materialize: couldn't get the value of variable g_88: DW_OP_piece for offset 4 but top of stack is of size 108"
   href="https://bugs.llvm.org/show_bug.cgi?id=39798">39798</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Expression parser: Couldn't materialize: couldn't get the value of variable g_88: DW_OP_piece for offset 4 but top of stack is of size 108
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>lldb
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>7.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>lldb-dev@lists.llvm.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>davide@freebsd.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=21162" name="attach_21162" title="testcase">attachment 21162</a> <a href="attachment.cgi?id=21162&action=edit" title="testcase">[details]</a></span>
testcase

(lldb) b main
Breakpoint 1: where = a.out`main + 4 at a-prepro.c:2303:5, address =
0x0000000100000b44
(lldb) r
Process 81971 launched:
'/Users/davide/work/llvm-project-20170507/build-rel/bin/a.out' (x86_64)
a.out was compiled with optimization - stepping may behave oddly; variables may
not be available.
Process 81971 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
    frame #0: 0x0000000100000b44 a.out`main(argc=1, argv=0x00007ffeefbffaf0) at
a-prepro.c:2303:5 [opt]
   2300     int print_hash_value = 0;
   2301     if (argc == 2 && strcmp(argv[1], "1") == 0) print_hash_value = 1;
   2302     platform_main_begin();
-> 2303     func_1();
   2304     for (i = 0; i < 8; i++)
   2305     {
   2306         csmith_sink_ = g_8[i];
(lldb) frame var g_88
(S0 [5]) g_88 = <DW_OP_piece for offset 4 but top of stack is of size 108>

(lldb) p g_88
error: Couldn't materialize: couldn't get the value of variable g_88:
DW_OP_piece for offset 4 but top of stack is of size 108
error: errored out in DoExecute, couldn't PrepareToExecuteJITExpression

$ ./clang a-prepro.c -g -O1 -Wno-everything</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>