On Thu, May 18, 2017 at 5:08 PM, Nathan Sidwell <nat...@acm.org> wrote:
> On 05/16/2017 11:26 AM, Nathan Sidwell wrote:
>> This patch breaks apart the creation of the pass manager from
>> gcc::context's ctor. This will allow us to register additional dumps
> ... https://gcc.gnu.org/ml/gcc-patches/2017-05/msg01295.html
> This patch builds upon the context creation patch (this diff includes it),
> to implement a new LANG_HOOK_REGISTER_DUMPS language hook. I call it
> between creating the dump manager and instantiating the optimization passes.
> The patch then uses the hook to move the current -fdump-class-hierarchy
> option into the C++ FE entirely, removing TDI_class and associated handling
> from dumpfile and c-family/c-opts.c. The option gets renamed to
> -fdump-lang-class in the process.
> Obviously -fdump-translation-unit is the next candidate, and possibly
> Nathan Sidwell