This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH: Turn on -fomit-frame-pointer by default for 32bit Linux/x86


On Aug 12, 2010, at 10:39 AM, Jack Howarth wrote:
>> We don't ENABLE it for 32bit MACHO now.

> The only comment I can find in Apple's documentation on this is at...

I'm fine with the configure option forcing the default for darwin, if people want to do that.  The option is fine for people that know what they're doing.  In fact, I'd argue that it should affect darwin equally.

On darwin, we have CrashReporter that walks the stack but has yet to be enhanced to read dwarf.  When combined with system libraries that create new threads for you, and the fact when something crashes, it snaps _all_ stacks from all threads, we wind up wanting async thread stack walking as well.  The reports can't be very complete, if people use this option, but, normal developers can never see those reports, so the fact they are less useful, is less interesting to most people.  For developers, on the machine they built software for, they will have to live with their decision, we shouldn't interfere with it.  Also, Shark (performance monitoring tool suitable for developers) isn't going to be able to walk the stack, but again, that is the developers choice.  The general disclaimer could be enhanced to say that CrashReporter and Shark will provide less useful data if this configure option is used, if one wanted.  Though, that would be done in a wiki article as well.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]