[google gcc-4_7, integration] Build more of libstdc++ with frame pointers
Paul Pluzhnikov
ppluzhnikov@google.com
Wed Feb 27 20:13:00 GMT 2013
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.
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:
More information about the Gcc-patches
mailing list