On 16/01/2019 17:38, Adrian Prantl wrote:
On Darwin I'm getting an also very misleading
(lldb) target var ref
(void (&)(bool)) ref = 0x0000000100000920 (&::ref = <out of memory>)
Wait, no. I reverted the wrong patch:-(
I get <Unable to determine byte size.> vs <out of memory>.
I assume that's what's happening on Windows, too. If that's the case I should
be able to do something.
-- adrian
Yes that's the same behavior I observed.
"out of memory" is definitely wrong here, though I'm not sure if "Unable
to determine byte size" is correct either. I guess the best behavior
would be to just print "cannot display a function" (if I understand
correctly that this code is trying to print the "dereferenced" value),
or just nothing.
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits