one more bug in evaluation

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

Develop with pleasure!

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

Thank you, Greg! It was quit annoying.
Xcode 4.3 has the same LLDB version as Xcode 4.2. Looks weird. Are they going to pull your recent work there and when?

Hi Andrey,

We can't comment on unreleased or beta versions of Xcode. Please ask questions about them on the Apple developer forums.

-Chris