• 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: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…


  • Subject: Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
  • From: Gideon King <email@hidden>
  • Date: Sun, 5 Sep 2010 09:16:08 +1000

I poked around blindly :-)

I'm afraid the abi documentation was above my head. Seems strange to me that we should be looking at a *draft* document for *AMD64*, which contains no mention of objective-c methods, to try to understand how to interpret what's going on - surely there's some documentation somewhere that tells us in plain language how to get useful information about the current method and args on 64 bit intel? (but then again, I've looked before and not found it)


On 05/09/2010, at 5:50 AM, Jerry Krinock wrote:

>
> On 2010 Sep 03, at 21:25, Gideon King wrote:
>
>> I was able to track it down by going to the maintainInverseRelationship:forProperty:oldDestination:newDestination: method call in the stack, and finding the entity in register 12.
>
> So did you ever find out the mapping between function parameters and registers on the 64-bit Intel architecture, or did you just poke around blindly in all the registers?
>
> Can anyone confirm that the  *(int *)($esp+4), *(int *)($esp+8) incantations given in Apple's TN2124 are only true on the 32-bit Intel architecture?
>

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
      • From: Kyle Sluder <email@hidden>
    • Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
      • From: Chris Parker <email@hidden>
References: 
 >isTemporaryID unrecognized selector - how do I debug this? (From: Gideon King <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Jerry Krinock <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Gideon King <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Jerry Krinock <email@hidden>)
 >Re: isTemporaryID unrecognized selector - how do I debug this? (From: Gideon King <email@hidden>)
 >Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector… (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
  • Next by Date: Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
  • Previous by thread: Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
  • Next by thread: Re: Register/Function Parm Mapping for 64-bit Was: isTemporaryID unrecognized selector…
  • Index(es):
    • Date
    • Thread