search for: llvm_attribute_weak

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

2019 Sep 20
4
[RFC] Generalize out-of-tree pass support
...urce0.cpp) The pass must provide two entry points for the new pass manager, one for static registration and one for dynamically loaded plugins: - ``llvm::PassPluginLibraryInfo get##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...