This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86
- From: Andi Kleen <andi at firstfloor dot org>
- To: Michael Witten <mfwitten at gmail dot com>
- Cc: Andi Kleen <andi at firstfloor dot org>, Uros Bizjak <ubizjak at gmail dot com>, GCC Development <gcc at gcc dot gnu dot org>, Richard Guenther <rguenther at suse dot de>, Jakub Jelinek <jakub at redhat dot com>, Mark Mitchell <mark at codesourcery dot com>, Richard Henderson <rth at redhat dot com>, jh at suse dot cz, "H.J. Lu" <hjl dot tools at gmail dot com>, Andrew Haley <aph at redhat dot com>, David Daney <ddaney at caviumnetworks dot com>, Xinliang David Li <davidxl at google dot com>, Chris Lattner <clattner at apple dot com>
- Date: Sun, 8 Aug 2010 19:06:34 +0200
- Subject: Re: Turn on -fomit-frame-pointer by default for 32bit Linux/x86
- References: <AANLkTikArg8jNfW-DZQQRf9Q97+ay4q2e8nW8W8--XuD@mail.gmail.com> <AANLkTimgyd1Hi7V0r7oQ23MEJ4zstaoC1gvgi5_AApHO@mail.gmail.com> <AANLkTim+RsVU983qExmKM987ZeXqmuc7BN=fXqX5pFkM@mail.gmail.com> <20100808153046.GA23786@basil.fritz.box> <AANLkTik9m3_YF6hFQ8dUN7UfUesoq_Yn=7otphyWGphE@mail.gmail.com>
On Sun, Aug 08, 2010 at 12:00:47PM -0500, Michael Witten wrote:
> On Sun, Aug 8, 2010 at 10:30, Andi Kleen <andi@firstfloor.org> wrote:
> >> > I like backtraces.
> >> >
> >>
> >> So, you will be able to use --enable-frame-pointer configure option.
> >>
> >> [1] http://gcc.gnu.org/ml/gcc-patches/2010-07/msg02034.html
> >
> > ... or use backtrace()
>
> What kind of black magic would you expect backtrace() to use?
dwarf2 unwind tables.
-Andi
--
ak@linux.intel.com -- Speaking for myself only.