Lines Matching refs:plugin

2 The LLVM gold plugin
13 The LLVM gold plugin implements the gold plugin interface on top of
14 :ref:`libLTO`. The same plugin can also be used by other tools such as
17 gold plugin with ld.bfd is not tested and therefore not officially
20 As of LLVM 15, the gold plugin will ignore bitcode from the ``.llvmbc``
26 .. _`gold plugin interface`: http://gcc.gnu.org/wiki/whopr/driver
33 You need to have gold with plugin support and build the LLVMgold plugin.
43 If you have gold installed, check for plugin support by running
44 ``/usr/bin/ld.gold -plugin``. If it complains "missing argument" then
45 you have plugin support. If not, and you get an error such as "unknown option",
46 then you will either need to build gold or install a version with plugin
49 * Download, configure and build gold with plugin support:
60 the ``-plugin`` option. Running ``make`` will additionally build
71 * Build the LLVMgold plugin. Run CMake with
73 path will contain the file ``plugin-api.h``.
79 ``-flto``. This flag will also cause ``clang`` to look for the gold plugin in
80 the ``lib`` directory under its prefix and pass the ``-plugin`` option to
85 ``ar`` and ``nm`` also accept the ``-plugin`` option and it's possible to
94 The following example shows a worked example of the gold plugin mixing LLVM
136 $ clang -flto a.a b.o -o main # <-- link with LLVMgold plugin
138 Gold informs the plugin that foo3 is never referenced outside the IR,
187 ``plugin-api.h`` from gold which means that the resulting ``LLVMgold.so``
189 just as much as gold could without the plugin.