From 78bf7bd0fc9a82aff98874e0ff3e12a329f920ab Mon Sep 17 00:00:00 2001 From: Olatunji Ruwase Date: Mon, 29 Jun 2009 21:17:40 +0000 Subject: plugins.texi: Document PLUGIN_START_UNIT. 2009-06-29 Olatunji Ruwase * doc/plugins.texi: Document PLUGIN_START_UNIT. * toplev.c (compile_file): Call PLUGIN_START_UNIT. * gcc-plugin.h (PLUGIN_START_UNIT): Added new event. * plugin.c (plugin_event_name): Added PLUGIN_START_UNIT. (register_callback): Handle PLUGIN_START_UNIT. (invoke_plugin_callbacks): Handle PLUGIN_START_UNIT. From-SVN: r149064 --- gcc/doc/plugins.texi | 1 + 1 file changed, 1 insertion(+) (limited to 'gcc/doc/plugins.texi') diff --git a/gcc/doc/plugins.texi b/gcc/doc/plugins.texi index c5efc81c6d5..4dfb159c883 100644 --- a/gcc/doc/plugins.texi +++ b/gcc/doc/plugins.texi @@ -134,6 +134,7 @@ enum plugin_event PLUGIN_GGC_END, /* Called at end of GGC. */ PLUGIN_REGISTER_GGC_ROOTS, /* Register an extra GGC root table. */ PLUGIN_ATTRIBUTES, /* Called during attribute registration */ + PLUGIN_START_UNIT, /* Called before processing a translation unit. */ PLUGIN_EVENT_LAST /* Dummy event used for indexing callback array. */ @}; -- cgit v1.2.1