Re: symbols, stripping, and crash logs
Re: symbols, stripping, and crash logs
- Subject: Re: symbols, stripping, and crash logs
- From: Lawrence Gold <email@hidden>
- Date: Tue, 11 Apr 2006 13:03:41 -0600
On Apr 10, 2006, at 6:55 PM, James W. Walker wrote:
Lawrence Gold <email@hidden> wrote:
Here's a better description than I could give:
http://developer.apple.com/technotes/tn2004/tn2123.html#SECNOSYMBOLS
So, if I understand this correctly, in order to get what the tech
note calls per-function symbols, I would use these Xcode settings:
Under Code Generation: Uncheck "Generate Debug Symbols"
Under Deployment: Uncheck "Strip Linked Product".
Correct.
Is there any GCC option that could be used to turn off per-function
symbols on individual source files? You know, so that a few
functions like CheckCopyProtection could be hidden.
None that I know of. I've found the best option is to include debug
symbols, and then strip them before you ship. Although the crash logs
can't be eyeballed, you can use atos against an unstripped build to
interpret them, and you get the bonus of line numbers and source file
names. As far as I know, if you use only per-function symbols, you
only get the name of the function in the backtrace, but not where in
the function the problem occurred.
_______________________________________________
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