GNU Compiler Collection (GCC) Internals: Plugins

Next: LTO, Previous: Type Information, Up: Top [Contents][Index]

## 23 Plugins

GCC plugin is a loadable module that provides extra features to the compiler, which they can further pass around as a shareable module.

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.