guardmalloc with no frame pointers...
guardmalloc with no frame pointers...
- Subject: guardmalloc with no frame pointers...
- From: "Jeff Roberts" <email@hidden>
- Date: Wed, 25 Oct 2006 08:08:38 -0700
- Organization: RAD Game Tools
Is there a way to use guardmalloc in a dylib that doesn't require stack
frame pointers?
On x86 Mac, we use the Intel compiler which agressively reuses EBP as a
general register whenever it can. However, if you call malloc in any
function that doesn't have a valid EBP (or valid EBP all the way up the
callback chain), then guardmalloc crashes (it's not a guardmalloc warning -
rather, guardmalloc itself actually crashes while backtracking the stack).
Is there a way to turn off stack backtracking, but still use the guard
checks? I'd rather not rebuild my entire library with frame pointers turned
back on, just to support our developers that want to use gm...
->Jeff
_______________________________________________
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