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
22 .. _`gold plugin interface`: http://gcc.gnu.org/wiki/whopr/driver
29 You need to have gold with plugin support and build the LLVMgold plugin.
39 If you have gold installed, check for plugin support by running
40 ``/usr/bin/ld.gold -plugin``. If it complains "missing argument" then
41 you have plugin support. If not, and you get an error such as "unknown option",
42 then you will either need to build gold or install a version with plugin
45 * Download, configure and build gold with plugin support:
56 the ``-plugin`` option. Running ``make`` will additionally build
67 * Build the LLVMgold plugin. Run CMake with
69 path will contain the file ``plugin-api.h``.
75 ``-flto``. This flag will also cause ``clang`` to look for the gold plugin in
76 the ``lib`` directory under its prefix and pass the ``-plugin`` option to
81 ``ar`` and ``nm`` also accept the ``-plugin`` option and it's possible to
90 The following example shows a worked example of the gold plugin mixing LLVM
132 $ clang -flto a.a b.o -o main # <-- link with LLVMgold plugin
134 Gold informs the plugin that foo3 is never referenced outside the IR,
183 ``plugin-api.h`` from gold which means that the resulting ``LLVMgold.so``
185 just as much as gold could without the plugin.