On Wed, Feb 27, 2013 at 12:13 PM, Paul Pluzhnikov <ppluzhni...@google.com> wrote: > Greetings, > > Google ref b/8187733 > > Build libstdc++-v3/src/c++11/debug.cc with -fno-omit-frame-pointer, so > frame-based unwinder can step through it.
Just an aside which program does not understand dwarf2 unwinding? Perf is setup to understand it. Valgrind is setup to understand it. ASAN should be setup to understand it. Thanks, Andrew Pinski > > Tested: bootstrap build and verified debug.cc is built with > -fno-omit-frame-pointer. > > Ok for google/gcc-4_7 and google/integration? > > Thanks, > > -- > Paul Pluzhnikov > > > Index: libstdc++-v3/src/c++11/Makefile.am > =================================================================== > --- libstdc++-v3/src/c++11/Makefile.am (revision 196316) > +++ libstdc++-v3/src/c++11/Makefile.am (working copy) > @@ -124,3 +124,4 @@ > > # Google-specific pessimization > functexcept.lo_no_omit_frame_pointer = -fno-omit-frame-pointer > +debug.lo_no_omit_frame_pointer = -fno-omit-frame-pointer > Index: libstdc++-v3/src/c++11/Makefile.in > =================================================================== > --- libstdc++-v3/src/c++11/Makefile.in (revision 196316) > +++ libstdc++-v3/src/c++11/Makefile.in (working copy) > @@ -391,6 +391,7 @@ > > # Google-specific pessimization > functexcept.lo_no_omit_frame_pointer = -fno-omit-frame-pointer > +debug.lo_no_omit_frame_pointer = -fno-omit-frame-pointer > all: all-am > > .SUFFIXES: > >