diff options
author | Olatunji Ruwase <tjruwase@google.com> | 2009-06-29 21:17:40 +0000 |
---|---|---|
committer | Rafael Espindola <espindola@gcc.gnu.org> | 2009-06-29 21:17:40 +0000 |
commit | 78bf7bd0fc9a82aff98874e0ff3e12a329f920ab (patch) | |
tree | 63398d650a9579870dc5c29493d49d49e66f87cb /gcc/doc | |
parent | 20460eb94863954cf7ebdc7bf2193038ac0b781a (diff) | |
download | gcc-78bf7bd0fc9a82aff98874e0ff3e12a329f920ab.zip gcc-78bf7bd0fc9a82aff98874e0ff3e12a329f920ab.tar.gz gcc-78bf7bd0fc9a82aff98874e0ff3e12a329f920ab.tar.bz2 |
plugins.texi: Document PLUGIN_START_UNIT.
2009-06-29 Olatunji Ruwase <tjruwase@google.com>
* 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
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/plugins.texi | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/doc/plugins.texi b/gcc/doc/plugins.texi index c5efc81..4dfb159 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. */ @}; |