• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: lldb 'print object' (po) prints pointer value if not object?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: lldb 'print object' (po) prints pointer value if not object?
      • From: Roland King <email@hidden>
References: 
 >lldb 'print object' (po) prints pointer value if not object? (From: Jerry Krinock <email@hidden>)
 >Re: lldb 'print object' (po) prints pointer value if not object? (From: Quincey Morris <email@hidden>)
 >Re: lldb 'print object' (po) prints pointer value if not object? (From: Roland King <email@hidden>)
 >Re: lldb 'print object' (po) prints pointer value if not object? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: lldb 'print object' (po) prints pointer value if not object?
  • Next by Date: Re: lldb 'print object' (po) prints pointer value if not object?
  • Previous by thread: Re: lldb 'print object' (po) prints pointer value if not object?
  • Next by thread: Re: lldb 'print object' (po) prints pointer value if not object?
  • Index(es):
    • Date
    • Thread