We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
RegisterCodeGenFlags
1 parent 7f0fa48 commit bb6dcf5Copy full SHA for bb6dcf5
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -9,6 +9,7 @@
9
#include "llvm/Analysis/AliasAnalysis.h"
10
#include "llvm/Analysis/TargetLibraryInfo.h"
11
#include "llvm/Analysis/TargetTransformInfo.h"
12
+#include "llvm/CodeGen/CommandFlags.h"
13
#include "llvm/CodeGen/TargetSubtargetInfo.h"
14
#include "llvm/IR/AutoUpgrade.h"
15
#include "llvm/IR/AssemblyAnnotationWriter.h"
@@ -50,6 +51,8 @@
50
51
52
using namespace llvm;
53
54
+static codegen::RegisterCodeGenFlags CGF;
55
+
56
typedef struct LLVMOpaquePass *LLVMPassRef;
57
typedef struct LLVMOpaqueTargetMachine *LLVMTargetMachineRef;
58
0 commit comments