[lldb-dev] [Bug 39798] 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
via lldb-dev
lldb-dev at lists.llvm.org
Mon Nov 26 17:37:34 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=39798
Bug ID: 39798
Summary: 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
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
Created attachment 21162
--> https://bugs.llvm.org/attachment.cgi?id=21162&action=edit
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
--
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/4eb89d47/attachment.html>
More information about the lldb-dev
mailing list