From: Richard Henderson <rth@redhat.com>
To: gcc-patches@gcc.gnu.org
Cc: bernds@codesourcery.com
Subject: [CFT][PATCH 0/6] Move dwarf2 cfi creation to a new pass
Date: Sun, 03 Jul 2011 20:03:00 -0000 [thread overview]
Message-ID: <1309723308-26667-1-git-send-email-rth@redhat.com> (raw)
Bernd's original patch to optimize dwarf2 cfi for shrink-wrapping
is difficult to analyze because that optimization was done via a
random debugging hook during final, and the cfi notes are deleted
at the end of final so that we don't get debug comparison failures.
By pulling the note creation out to a separate pass, we can dump
the notes and thus debug the optimization.
So far I've tested this only on x86_64-linux. It needs a bit more
testing across other targets before going in. Any help that can
be given there would be welcome.
The complete patch set is available at
git://gcc.gnu.org/git/gcc.git rth/cfi-pass
Thanks,
r~
Richard Henderson (6):
dwarf2out: Split CFI construction routines into a new file.
dwarf2out: Move insn scanning out of final.c.
dwarf2out: Emit NOTE_INSN_CFI_* both with and without cfi-asm.
dwarf2out: Convert fde_table to a VEC.
dwarf2: Extract cfi creation to a new pass.
Dump NOTE_INSN_CFI notes.
gcc/Makefile.in | 10 +-
gcc/ada/gcc-interface/misc.c | 10 -
gcc/coretypes.h | 10 +
gcc/debug.h | 5 +-
gcc/dwarf2cfi.c | 2734 ++++++++++++++++++++++++++++++++++++
gcc/dwarf2out.c | 3171 +++---------------------------------------
gcc/dwarf2out.h | 232 +++-
gcc/final.c | 59 +-
gcc/function.h | 6 +
gcc/gengtype.c | 2 +-
gcc/insn-notes.def | 8 +
gcc/lto-streamer-in.c | 8 -
gcc/passes.c | 1 +
gcc/print-rtl.c | 9 +
gcc/rtl.h | 15 +-
gcc/toplev.c | 5 -
gcc/tree-pass.h | 1 +
17 files changed, 3258 insertions(+), 3028 deletions(-)
create mode 100644 gcc/dwarf2cfi.c
--
1.7.5.4
next reply other threads:[~2011-07-03 20:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-03 20:03 Richard Henderson [this message]
2011-07-03 20:03 ` [PATCH 2/6] dwarf2out: Move insn scanning out of final.c Richard Henderson
2011-07-03 20:03 ` [PATCH 6/6] Dump NOTE_INSN_CFI notes Richard Henderson
2011-07-03 20:03 ` [PATCH 4/6] dwarf2out: Convert fde_table to a VEC Richard Henderson
2011-07-03 20:03 ` [PATCH 5/6] dwarf2: Extract cfi creation to a new pass Richard Henderson
2011-07-03 20:03 ` [PATCH 3/6] dwarf2out: Emit NOTE_INSN_CFI_* both with and without cfi-asm Richard Henderson
2011-07-03 20:04 ` [PATCH 1/6] dwarf2out: Split CFI construction routines into a new file Richard Henderson
2011-07-06 23:23 ` [CFT][PATCH 0/6] Move dwarf2 cfi creation to a new pass Bernd Schmidt
2011-07-07 8:10 ` Iain Sandoe
2011-07-08 2:32 ` Richard Henderson
2011-07-07 21:51 ` Bernd Schmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1309723308-26667-1-git-send-email-rth@redhat.com \
--to=rth@redhat.com \
--cc=bernds@codesourcery.com \
--cc=gcc-patches@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).