We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43ca67c commit 04b0a4eCopy full SHA for 04b0a4e
llvm/lib/Extensions/Extensions.cpp
@@ -0,0 +1,15 @@
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 {
9
+ void extensions_anchor() {
10
11
+ static auto Ext = get##Ext##PluginInfo();
12
13
+ }
14
15
+}
0 commit comments