• 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: Problem with ld --wrap, Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with ld --wrap, Help


  • Subject: Re: Problem with ld --wrap, Help
  • From: Alastair Houghton <email@hidden>
  • Date: Wed, 24 Oct 2007 13:13:55 +0100

On 24 Oct 2007, at 12:41, Michael Crawford wrote:

Could setting the environment variable DYLD_INSERT_LIBRARIES do what you want?

See:

man libgmalloc

There are also all sorts of debugging features in the standard OS X malloc() implementation, not to mention the leaks and MallocDebug applications.


See, for instance

<http://developer.apple.com/releasenotes/DeveloperTools/RN- MallocOptions/index.html>
<http://developer.apple.com/documentation/Performance/Conceptual/ ManagingMemory/Articles/MallocDebug.html>


You may find that you can make use of these rather than having to wrap malloc() and free().

Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________ 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
References: 
 >Re: Problem with ld --wrap, Help (From: F L <email@hidden>)
 >Re: Problem with ld --wrap, Help (From: "Michael Crawford" <email@hidden>)

  • Prev by Date: Re: three basic questions
  • Next by Date: Re: Weak link
  • Previous by thread: Re: Problem with ld --wrap, Help
  • Next by thread: Weak link
  • Index(es):
    • Date
    • Thread