[google] Build libstdc++ exception throwing code with frame pointers (issue4348050)
Diego Novillo
dnovillo@google.com
Tue Apr 5 07:06:00 GMT 2011
On Mon, Apr 4, 2011 at 23:05, Paul Pluzhnikov <ppluzhnikov@google.com> wrote:
> 2011-04-04 Paul Pluzhnikov <ppluzhnikov@google.com>
>
> * libstdc++-v3/src/Makefile.am (revision 171950): Add
> -fno-omit-frame-pointer to functexcept.
> * libstdc++-v3/libsupc++/Makefile.am (revision 171950): Add
> -fno-omit-frame-pointer to eh_throw and eh_terminate.
> * libstdc++-v3/src/Makefile.in (revision 171950): Regenerate.
> * libstdc++-v3/libsupc++/Makefile.in (revision 171950): Regenerate.
Remove the '(revision 171950)' strings.
>
> Index: libstdc++-v3/src/Makefile.am
> ===================================================================
> --- libstdc++-v3/src/Makefile.am (revision 171950)
> +++ libstdc++-v3/src/Makefile.am (working copy)
> @@ -395,7 +395,8 @@
> $(XTEMPLATE_FLAGS) \
> $(WARN_CXXFLAGS) \
> $(OPTIMIZE_CXXFLAGS) \
> - $(CONFIG_CXXFLAGS)
> + $(CONFIG_CXXFLAGS) \
> + $($(@)_no_omit_frame_pointer)
>
>
> # libstdc++ libtool notes
> @@ -469,3 +470,6 @@
> install_debug:
> (cd ${debugdir} && $(MAKE) \
> toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
> +
> +# Google-specific pessimization
> +functexcept.lo_no_omit_frame_pointer = -fno-omit-frame-pointer
Does this mean that this is not intended to go to trunk ever? If so,
it may make more sense to put this in google/integration instead of
google/main.
Diego.
More information about the Gcc-patches
mailing list