Re: Determining if a function is being called
Re: Determining if a function is being called
- Subject: Re: Determining if a function is being called
- From: Jean Suisse <email@hidden>
- Date: Sat, 05 Jan 2013 22:37:48 +0100
On 5 janv. 2013, at 21:16, Jens Alfke wrote:
> Also, before you go to this trouble, make sure the intrinsics you’re trying to detect aren’t inlined. There’s no general way to detect calls to an inlined function :)
True. Be aware of this fact but don't ignore inline functions completely because some compilers may sometime choose not to inline functions (despite the use of the inline keyword).
(This is because people writing compilers know more than most other developers about machine code & CPU architectures. And they know that in some circumstances, inline functions can actually be less efficient).
_______________________________________________
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