Skip to content

Commit 8972ffc

Browse files
committed
[llvm] include headers to define Function and Module types used in template instantiations
1 parent ed07412 commit 8972ffc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/lib/CodeGen/MachinePassManager.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
#include "llvm/CodeGen/MachineFunction.h"
1515
#include "llvm/CodeGen/MachineFunctionAnalysis.h"
1616
#include "llvm/CodeGen/MachineModuleInfo.h"
17+
#include "llvm/IR/Function.h"
18+
#include "llvm/IR/Module.h"
1719
#include "llvm/IR/PassManagerImpl.h"
1820

1921
using namespace llvm;

0 commit comments

Comments
 (0)