On 06/10/2015 03:36 PM, Richard Biener wrote:
Hmm, yes.  It meant to break after the first ;)  (without LTO
there usually is only one TU decl, apart from Java I think).
The hunk isn't in mainline because it was part of an experimental patch I
did on the early-debug branch.

Understood, thanks!

Yeah, that looks great!

Of course I wonder about Java (builds multiple ones, one for each
input file) and Go (no idea).  I suppose Java would need to build
another one where all the "defaults" go (or it doesn't have any
such entities).

Yeah, I'm not familiar with them neither...

In theory we could have changed dwarf2out_init to get a
translation-unit-decl argument as well.  But your patch looks like
we don't have such at the point of dwarf2out_init in all frontends.

Your patch is ok (and ok to backport) IMHO, though please give
others the chance to chime in.

Thank you very much. :-) I will soon become unavailable until July, so I think I'll wait until then to commit anyway.

--
Pierre-Marie de Rodat

Reply via email to