Plugins tracking (GNU Compiler Collection (GCC) Internals) (original) (raw)
Next: Building GCC plugins, Previous: Controlling which passes are being run, Up: Plugins [Contents][Index]
23.9 Keeping track of available passes ¶
When your plugin is loaded, you can inspect the various pass lists to determine what passes are available. However, other plugins might add new passes. Also, future changes to GCC might cause generic passes to be added after plugin loading. When a pass is first added to one of the pass lists, the eventPLUGIN_NEW_PASS
is invoked, with the callback parametergcc_data
pointing to the new pass.