Extensions.cpp 433 B

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