Re: Leaf vs. Non-leaf functions & crash reporting
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 30 nov 2005, at 00:23, Nathan Herring wrote: Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... However, it appears that Apple's crash reporter manages to figure it out nicely. I've been staring at it for some time, but I cannot figure out how to do it that doesn't involve some code inspection to see if lr points to some code between ssr0 and the prolog of the function ssr0 is in (and that's assuming it has a prolog). This one includes some stack crawling code by Apple (in MIB-Libraries/ MoreDebugging/MoreBacktrace.c): http://developer.apple.com/samplecode/MoreIsBetter/MoreIsBetter.html This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe