GNU Compiler Collection (GCC) Internals: Plugins |
---|
Next: LTO, Previous: Type Information, Up: Top [Contents][Index]
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.
• Plugins loading: | How can we load plugins. | |
• Plugin API: | The APIs for plugins. | |
• Plugins pass: | How a plugin interact with the pass manager. | |
• Plugins GC: | How a plugin Interact with GCC Garbage Collector. | |
• Plugins description: | Giving information about a plugin itself. | |
• Plugins attr: | Registering custom attributes or pragmas. | |
• Plugins recording: | Recording information about pass execution. | |
• Plugins gate: | Controlling which passes are being run. | |
• Plugins tracking: | Keeping track of available passes. | |
• Plugins building: | How can we build a plugin. |