This is the mail archive of the
mailing list for the GCC project.
Re: PATCH: Turn on -fomit-frame-pointer by default for 32bit Linux/x86
On 08/04/2010 06:41 PM, H.J. Lu wrote:
> On Wed, Aug 4, 2010 at 10:35 AM, Andi Kleen <email@example.com> wrote:
>> "H.J. Lu" <firstname.lastname@example.org> writes:
>>> Can we find if oprofile works with -fomit-frame-pointer on 32bit Linux/x86.
>> It doesn't for user space. The problem is that you would need
>> an in kernel dwarf2 unwinder that reads user space tables.
>> x86-64 suffers from this already.
> But it is considered acceptable
> so that we still want -fomit-frame-pointer for Linux/x86-64.
Ah, so your argument *is* "x86-64 profiling is degraded, so we might
as well degrade x86 as well."