search for: _link_into_tools

Displaying 1 result from an estimated 1 matches for "_link_into_tools".

2019 Sep 20
4
[RFC] Generalize out-of-tree pass support
...et##Name##PluginInfo();`` - ``extern "C" ::llvm::PassPluginLibraryInfo llvmGetPassPluginInfo() LLVM_ATTRIBUTE_WEAK;`` Pass plugins are compiled and link dynamically by default, but it's possible to set the following variables to change this behavior: - ``LLVM_${NAME}_LINK_INTO_TOOLS``, when sets to ``ON``, turns the project into a statically linked extension The review also contains an example of pass plugin, `llvm/examples/Bye/Bye.cpp`. The associated review is available at https://reviews.llvm.org/D61446, Michael Kruse has already done a lot of review, I think it'...