llvm-for-llvmta/lib/Extensions/Extensions.cpp

16 lines
433 B
C++
Raw Normal View History

2022-04-25 10:02:23 +02:00
#include "llvm/Passes/PassPlugin.h"
#define HANDLE_EXTENSION(Ext) \
llvm::PassPluginLibraryInfo get##Ext##PluginInfo();
#include "llvm/Support/Extension.def"
namespace llvm {
namespace details {
void extensions_anchor() {
#define HANDLE_EXTENSION(Ext) \
get##Ext##PluginInfo();
#include "llvm/Support/Extension.def"
}
}
}