• 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: Inline Woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inline Woes


  • Subject: Re: Inline Woes
  • From: Eric Albert <email@hidden>
  • Date: Fri, 26 May 2006 00:45:19 -0700

On May 26, 2006, at 12:26 AM, Ben Weiss wrote:

When I remove -fkeep-inline-functions from that one source file, everything links fine. But I still haven't figured out how to generate an optimized but non-inlined version of my code, for profiling purposes. Any suggestions? (This is all happening with x86 code on a MacBook Pro. XCode 2.3, Shark 4.3.3 (4).)

Tag the function with __attribute__((noinline)), as described at <http://developer.apple.com/documentation/DeveloperTools/gcc-4.0.1/ gcc/Function-Attributes.html>.


Hope this helps,
Eric

_______________________________________________
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: Inline Woes
      • From: Ben Weiss <email@hidden>
References: 
 >Inline Woes (From: Ben Weiss <email@hidden>)

  • Prev by Date: Inline Woes
  • Next by Date: Xcode 2.3: inconsistent local symbol count
  • Previous by thread: Inline Woes
  • Next by thread: Re: Inline Woes
  • Index(es):
    • Date
    • Thread