Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(380)

Issue 4348050: [google] Build libstdc++ exception throwing code with frame pointers (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by ppluzhnikov
Modified:
14 years, 1 month ago
Reviewers:
Diego Novillo
CC:
gcc-patches_gcc.gnu.org
Base URL:
svn+ssh://gcc.gnu.org/svn/gcc/branches/google/main/
Visibility:
Public.

Description

This patch has been applied to google/integration instead.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -4 lines) Patch
M libstdc++-v3/libsupc++/Makefile.am View 2 chunks +6 lines, -1 line 0 comments Download
M libstdc++-v3/libsupc++/Makefile.in View 2 chunks +6 lines, -1 line 0 comments Download
M libstdc++-v3/src/Makefile.am View 2 chunks +5 lines, -1 line 0 comments Download
M libstdc++-v3/src/Makefile.in View 2 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 2
ppluzhnikov
This patch builds code which throws exceptions with -fno-omit-frame-pointer, so frame-based unwinder can unwind through ...
14 years, 2 months ago (2011-04-04 21:05:08 UTC) #1
Diego Novillo
14 years, 2 months ago (2011-04-05 07:06:22 UTC) #2
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.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b