| /openbsd-src/gnu/llvm/clang/examples/PrintFunctionNames/ |
| H A D | README.txt | 2 providing AST consumers using a plugin. 4 Build the plugin by running `make` in this directory. 6 Once the plugin is built, you can run it using: 9 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns some-input-fi… 10 … ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-print-fns help -pl… 11 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.so -plugin print-fns -plugin-arg-p… 14 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns some-input… 15 …/../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-arg-print-fns help -pl… 16 $ clang -cc1 -load ../../Debug+Asserts/lib/libPrintFunctionNames.dylib -plugin print-fns -plugin-ar…
|
| /openbsd-src/gnu/llvm/clang/docs/ |
| H A D | ClangPlugins.rst | 15 simple clang plugin. 21 handle plugin command line options. The ``PluginASTAction`` base class declares 22 a ``ParseArgs`` method which you have to implement in your plugin. 36 Registering a plugin 39 A plugin is loaded from a dynamic library at runtime by the compiler. To 40 register a plugin in a library, use ``FrontendPluginRegistry::Add<>``: 44 static FrontendPluginRegistry::Add<MyPlugin> X("my-plugin-name", "my plugin description"); 88 The members of ``ParsedAttrInfo`` that a plugin attribute must define are: 113 To see a working example of an attribute plugin, see `the Attribute.cpp example 119 Let's look at an example plugin that prints top-level function names. This [all …]
|
| H A D | ExternalClangExamples.rst | 73 "Constantine is a toy project to learn how to write clang plugin. 83 "The simplest Clang plugin implementing a semantic check for Objective-C. 89 "clazy is a compiler plugin which allows clang to understand Qt semantics. 95 "LibreOffice uses a Clang plugin infrastructure to check during the build
|
| H A D | ThinLTO.rst | 59 - **gold (via the gold-plugin)**: 97 …/usr/bin/ld: error: /path/to/clang/bin/../lib/LLVMgold.so: could not load plugin library: /path/to… 102 `LLVM gold plugin <https://llvm.org/docs/GoldPlugin.html#how-to-build-it>`_. 118 ``-Wl,-plugin-opt,jobs=N`` 143 ``-Wl,-plugin-opt,cache-dir=/path/to/cache`` 160 ``-Wl,-plugin-opt,cache-policy=POLICY`` 236 linker plugin options are instead specified directly in the previous step.
|
| /openbsd-src/gnu/llvm/llvm/docs/ |
| H A D | GoldPlugin.rst | 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", [all …]
|
| H A D | GarbageCollection.rst | 19 in ones, but you can also implement a loadable plugin with a custom definition. 148 possibly through a loadable :ref:`code generation plugins <plugin>` - to 202 <plugin>`. 216 using either the loadable plugin mechanism, or by patching your copy of LLVM. 231 either implementation (on a per :ref:`GC strategy <plugin>` basis). Longer 251 :ref:`GC strategy <plugin>`. All calls to ``llvm.gcroot`` **must** reside 343 (although a particular :ref:`collector strategy <plugin>` might). However, it 366 Function's selected :ref:`GC strategy <plugin>`. 382 selected :ref:`GC strategy <plugin>`. 420 and running, writing a :ref:`plugin <plugin>` will allow you to take advantage [all …]
|
| /openbsd-src/gnu/llvm/compiler-rt/lib/asan/scripts/ |
| H A D | asan_symbolize.py | 559 def register_plugin(plugin): argument 560 logging.info('Registering plugin %s', plugin.get_name()) 561 self.add_plugin(plugin) 570 def add_plugin(self, plugin): argument 571 assert isinstance(plugin, AsanSymbolizerPlugIn) 572 self._plugins.append(plugin) 573 self._plugin_names.add(plugin.get_name()) 574 plugin._receive_proxy(self) 576 def remove_plugin(self, plugin): argument 577 assert isinstance(plugin, AsanSymbolizerPlugIn) [all …]
|
| /openbsd-src/gnu/llvm/lld/ELF/ |
| H A D | Options.td | 620 def: J<"plugin-opt=O">, Alias<lto_O>, HelpText<"Alias for --lto-O">; 621 def: F<"plugin-opt=debug-pass-manager">, 623 def: F<"plugin-opt=disable-verify">, Alias<disable_verify>, HelpText<"Alias for --disable-verify">; 624 def plugin_opt_dwo_dir_eq: J<"plugin-opt=dwo_dir=">, 626 def plugin_opt_emit_asm: F<"plugin-opt=emit-asm">, 628 def plugin_opt_emit_llvm: F<"plugin-opt=emit-llvm">; 629 def: J<"plugin-opt=jobs=">, Alias<thinlto_jobs_eq>, HelpText<"Alias for --thinlto-jobs=">; 630 def: J<"plugin-opt=lto-partitions=">, Alias<lto_partitions>, HelpText<"Alias for --lto-partitions">; 631 def plugin_opt_mcpu_eq: J<"plugin-opt=mcpu=">; 632 def: F<"plugin-opt=new-pass-manager">, [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/ |
| H A D | BUILD.gn | 4 # In the CMake build, each plugin calls `add_lldb_library(name PLUGIN ...)`, 5 # which implicitly adds the plugin name to the LLDB_PLUGINS list. 8 # plugin names to generate Plugins.def. 210 foreach(plugin, lldb_plugins) { 211 plugin_id = plugin[1] 244 foreach(plugin, lldb_plugins) { 245 deps += [ plugin[0] ]
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | ValueProfilePlugins.inc | 9 // This file contains a set of plugin classes used in ValueProfileCollectorImpl. 10 // Each plugin is responsible for collecting Value Profiling candidates for a 12 // Each plugin must satisfy the interface described in ValueProfileCollector.cpp 94 /// For now, registering a plugin with the ValueProfileCollector is done by 95 /// adding the plugin type to the VP_PLUGIN_LIST macro.
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/unittests/Passes/ |
| H A D | BUILD.gn | 6 foreach(plugin, 11 loadable_module(plugin) { 12 # Put plugin next to the unit test executable. 15 sources = [ "$plugin.cpp" ]
|
| /openbsd-src/gnu/llvm/clang/tools/scan-build-py/lib/libscanbuild/ |
| H A D | clang.py | 74 for plugin in plugins 75 for arg in ['-Xclang', '-load', '-Xclang', plugin]] 147 load = [elem for plugin in plugins for elem in ['-load', plugin]]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/llvm/unittests/Analysis/ |
| H A D | BUILD.gn | 6 foreach(plugin, [ "InlineAdvisorPlugin" ]) { 7 loadable_module(plugin) { 8 # Put plugin next to the unit test executable. 11 sources = [ "$plugin.cpp" ]
|
| /openbsd-src/gnu/llvm/llvm/examples/Bye/ |
| H A D | CMakeLists.txt | 5 # The plugin expects to not link against the Support and Core libraries, 6 # but expects them to exist in the process loading the plugin. This doesn't
|
| /openbsd-src/gnu/llvm/llvm/examples/IRTransforms/ |
| H A D | CMakeLists.txt | 5 # The plugin expects to not link against the Support and Core libraries, 6 # but expects them to exist in the process loading the plugin. This doesn't
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/ |
| H A D | TODO.txt | 24 - plugin() template with working rpath, exports thingers 26 plugin tests run by default
|
| /openbsd-src/gnu/llvm/llvm/docs/CommandGuide/ |
| H A D | opt.rst | 84 .. option:: -load=<plugin> 86 Load the dynamic object ``plugin``. This object should register new 94 opt -load=plugin.so -help
|
| /openbsd-src/gnu/usr.bin/perl/pod/ |
| H A D | perlmroapi.pod | 3 perlmroapi - Perl method resolution plugin interface 10 a plugin, without changing its Perl-space interface. 12 Each plugin should register itself by providing
|
| /openbsd-src/gnu/llvm/llvm/tools/gold/ |
| H A D | CMakeLists.txt | 16 gold-plugin.cpp
|
| /openbsd-src/gnu/llvm/llvm/utils/vim/ftplugin/ |
| H A D | llvm.vim | 1 " Vim filetype plugin file
|
| H A D | tablegen.vim | 1 " Vim filetype plugin file
|
| H A D | mir.vim | 1 " Vim filetype plugin file
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang-tools-extra/clang-include-fixer/plugin/ |
| H A D | BUILD.gn | 1 static_library("plugin") {
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/plugin/ |
| H A D | BUILD.gn | 1 static_library("plugin") {
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Process/FreeBSDKernel/ |
| H A D | CMakeLists.txt | 10 message(STATUS "Skipping FreeBSDKernel plugin due to missing libfbsdvmcore")
|