On Mon, May 23, 2011 at 10:33 AM, Piervit <pier...@pvittet.com> wrote:
> Hello,
>
> Here is a two lines patch, allowing to use debug_dominance_info and
> debug_dominance_tree functions outside of gcc/dominance.c. For the
> moment, those functions are not declared in any gcc/*.h files (as far as
> I know after trying a grep). I have added them as external functions
> into gcc/basic-block.h. I feel this is useful to be able to call those
> functions from others files, for exemple from plugins.

debug_* functions are supposed to be used from interactive gdb sessions.
They should not be advertised in public headers.

Richard.

> ChangeLog:
>
> 2011-05-23  Pierre Vittet  <pier...@pvittet.com>
>
>        * basic-block.h (debug_dominance_info, debug_dominance_tree):
>          Add declaration.

Reply via email to