Plugins#
GCC plugins are loadable modules that provide extra features to the compiler. Like GCC itself they can be distributed in source and binary forms.
GCC plugins provide developers with a rich subset of the GCC API to allow them to extend GCC as they see fit. Whether it is writing an additional optimization pass, transforming code, or analyzing information, plugins can be quite useful.
- Loading Plugins
- Plugin API
- Interacting with the pass manager
- Interacting with the GCC Garbage Collector
- Giving information about a plugin
- Registering custom attributes or pragmas
- Recording information about pass execution
- Controlling which passes are being run
- Keeping track of available passes
- Building GCC plugins