[lldb-dev] one more bug in evaluation
Greg Clayton
gclayton at apple.com
Mon Dec 5 14:07:51 PST 2011
Already fixed in recent LLDB versions:
(lldb) version
LLDB-92
(lldb) memory read -fp 0x0000000100000c00 --num-per-line 1
0x100000c00: 0xfffffbbf9588ce89
0x100000c08: 0xfffbbf858ac28948
0x100000c10: 0x458b0000021ce8ff
0x100000c18: 0x8bcc458901c083cc
0x100000c20: 0x7cc839f44d8bcc45
0x100000c28: 0x00000260058d48ba
0x100000c30: 0x00000200e8c78948
0x100000c38: 0x4800000259058d48
(lldb) p ((void **)0x0000000100000c00 + 3)
(void **) $2 = 0x0000000100000c18
(lldb) p *((void **)0x0000000100000c00 + 3)
(void *) $3 = 0x8bcc458901c083cc
I believe this was fixed a few builds back when Sean fixed some issues with our IR emulation.
Greg Clayton
On Dec 5, 2011, at 3:18 AM, Andrey Zaytsev wrote:
> LLDB-76:
>
> (lldb) p ((void **)0x000000010011c9c0 + 3)
> (void **) $30 = 0x000000010011c9d8
> (lldb) p *((void **)0x000000010011c9c0 + 3)
> (void *) $31 = 0x000000010011c9d8 // bug!
> (lldb) x 0x000000010011c9d8
> 0x10011c9d8: 10 2b 00 00 01 00 00 00 00 00 00 00 00 00 00 00 .+..............
> 0x10011c9e8: e0 54 00 00 01 00 00 00 08 ee f5 77 ff 7f 00 00 .T.........w….
>
>
> Andrey Zaytsev
> JetBrains, Inc
> http://jetbrains.com
> Develop with pleasure!
>
>
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
More information about the lldb-dev
mailing list