summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Dominators.cpp
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2016-02-28 16:38:46 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2016-02-28 16:38:46 +0000
commitde40e7437ed4515a6849da064d28e3455591b612 (patch)
tree4f54c35b0eeb03e431f49eeb071b8b2b98eb36b2 /llvm/lib/IR/Dominators.cpp
parentc778aa4a302e68a5090ee4fcd64628df24b9beea (diff)
downloadbcm5719-llvm-de40e7437ed4515a6849da064d28e3455591b612.tar.gz
bcm5719-llvm-de40e7437ed4515a6849da064d28e3455591b612.zip
[PM] Appease mingw32's auto-import DLL build with minimal tweaks.
char AnalysisBase::ID should be declared as extern and defined in one module. llvm-svn: 262185
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..7903799ba30 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 AnalysisBase<DominatorTreeAnalysis>;
+
DominatorTreePrinterPass::DominatorTreePrinterPass(raw_ostream &OS) : OS(OS) {}
PreservedAnalyses DominatorTreePrinterPass::run(Function &F,
OpenPOWER on IntegriCloud