diff options
Diffstat (limited to 'gcc/doc/invoke.texi')
-rw-r--r-- | gcc/doc/invoke.texi | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index c5f8dfbdc21..554b6d93cad 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -163,7 +163,7 @@ in the following sections. @xref{Overall Options,,Options Controlling the Kind of Output}. @gccoptlist{-c -S -E -o @var{file} -combine -pipe -pass-exit-codes @gol -x @var{language} -v -### --help@r{[}=@var{class}@r{[},@dots{}@r{]]} --target-help @gol ---version -wrapper@@@var{file}} +--version -wrapper@@@var{file} -fplugin=@var{file} -fplugin-arg-@var{name}=@var{arg}} @item C Language Options @xref{C Dialect Options,,Options Controlling C Dialect}. @@ -1298,6 +1298,19 @@ gcc -c t.c -wrapper gdb,--args This will invoke all subprograms of gcc under "gdb --args", thus cc1 invocation will be "gdb --args cc1 ...". +@item -fplugin=@var{name}.so +Load the plugin code in file @var{name}.so, assumed to be a +shared object to be dlopen'd by the compiler. The base name of +the shared object file is used to identify the plugin for the +purposes of argument parsing (See +@option{-fplugin-arg-@var{name}-@var{key}=@var{value}} below). +Each plugin should define the callback functions specified in the +Plugins API. + +@item -fplugin-arg-@var{name}-@var{key}=@var{value} +Define an argument called @var{key} with a value of @var{value} +for the plugin called @var{name}. + @include @value{srcdir}/../libiberty/at-file.texi @end table |