On 7 Jul 2011, at 00:15, Bernd Schmidt wrote:

On 07/03/11 22:01, Richard Henderson wrote:
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.

I'm trying to help by running ARM tests, but I've managed to screw up by
running out of disk space, so I'm starting again from scratch now.

I've run once through on i686-darwin9 (on the basis that it should make no difference, that seems to be the case).

I still need to figure out a way to suppress DW2 epilogue info in unwind frames (for Darwin variants that can't handle them) ...
...  will try and merge my patch-in-progress with your changes.

Iain

Reply via email to