Re: lldb 'print object' (po) prints pointer value if not object?
Re: lldb 'print object' (po) prints pointer value if not object?
- Subject: Re: lldb 'print object' (po) prints pointer value if not object?
- From: Jerry Krinock <email@hidden>
- Date: Tue, 22 Apr 2014 22:28:02 -0700
Thank you, Quincey. I’d read about tagged pointers, but being a high level guy, I guess I’ve never seen one in real life :))
My example arose while debugging a crash. There was *supposed* to be an object in rdi, but apparently it was deallocced and possibly replaced by an NSNumber whose value is 83. So this is a variation on the case of finding a different object where your deallocced object had been.
On 2014 Apr 22, at 22:04, Quincey Morris <email@hidden> wrote:
> On Apr 22, 2014, at 22:00 , Roland King <email@hidden> wrote:
>
>> What do they do for all the even numbers then?
>
> I’m sorry, even numbers have been abolished. Didn’t you know?
Let’s be nice. Non-aligned *pointers* have indeed been abolished, as explained here…
https://www.mikeash.com/pyblog/friday-qa-2012-07-27-lets-build-tagged-pointers.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden