summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Dominators.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-02-28 17:17:00 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-02-28 17:17:00 +0000
commitdf0cd72657c898b1ed2b67c55b41459bc3ab5ab0 (patch)
tree904f54807d055bc184ec96da62485d2bb152c9d8 /llvm/lib/IR/Dominators.cpp
parentc9aaa3171d522d6048898620ff97b01b0c9a519e (diff)
downloadbcm5719-llvm-df0cd72657c898b1ed2b67c55b41459bc3ab5ab0.tar.gz
bcm5719-llvm-df0cd72657c898b1ed2b67c55b41459bc3ab5ab0.zip
[PM] Appease mingw32's auto-import DLL build with minimal tweaks, with fix for clang.
char AnalysisBase::ID should be declared as extern and defined in one module. llvm-svn: 262188
Diffstat (limited to 'llvm/lib/IR/Dominators.cpp')
-rw-r--r--llvm/lib/IR/Dominators.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/IR/Dominators.cpp b/llvm/lib/IR/Dominators.cpp
index c47091e2908..56247bf8598 100644
--- a/llvm/lib/IR/Dominators.cpp
+++ b/llvm/lib/IR/Dominators.cpp
@@ -308,6 +308,8 @@ DominatorTree DominatorTreeAnalysis::run(Function &F) {
return DT;
}
+template class llvm::AnalysisBase<DominatorTreeAnalysis>;
+
DominatorTreePrinterPass::DominatorTreePrinterPass(raw_ostream &OS) : OS(OS) {}
PreservedAnalyses DominatorTreePrinterPass::run(Function &F,
OpenPOWER on IntegriCloud