]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/doc/gccint/plugins.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / gcc / doc / gccint / plugins.rst
1 ..
2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
5
6 .. index:: Plugins
7
8 .. _plugins:
9
10 Plugins
11 -------
12
13 GCC plugins are loadable modules that provide extra features to the
14 compiler. Like GCC itself they can be distributed in source and
15 binary forms.
16
17 GCC plugins provide developers with a rich subset of
18 the GCC API to allow them to extend GCC as they see fit.
19 Whether it is writing an additional optimization pass,
20 transforming code, or analyzing information, plugins
21 can be quite useful.
22
23 .. toctree::
24 :maxdepth: 2
25
26 plugins/loading-plugins
27 plugins/plugin-api
28 plugins/interacting-with-the-pass-manager
29 plugins/interacting-with-the-gcc-garbage-collector
30 plugins/giving-information-about-a-plugin
31 plugins/registering-custom-attributes-or-pragmas
32 plugins/recording-information-about-pass-execution
33 plugins/controlling-which-passes-are-being-run
34 plugins/keeping-track-of-available-passes
35 plugins/building-gcc-plugins