1 #include "llvm/Passes/PassPlugin.h" 2 #define HANDLE_EXTENSION(Ext) \ 3 llvm::PassPluginLibraryInfo get##Ext##PluginInfo(); 4 #include "llvm/Support/Extension.def" 5 6 7 namespace llvm { 8 namespace details { extensions_anchor()9 void extensions_anchor() { 10 #define HANDLE_EXTENSION(Ext) \ 11 get##Ext##PluginInfo(); 12 #include "llvm/Support/Extension.def" 13 } 14 } 15 } 16