diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-28 17:17:00 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2016-02-28 17:17:00 +0000 |
commit | df0cd72657c898b1ed2b67c55b41459bc3ab5ab0 (patch) | |
tree | 904f54807d055bc184ec96da62485d2bb152c9d8 /llvm/lib/IR/Dominators.cpp | |
parent | c9aaa3171d522d6048898620ff97b01b0c9a519e (diff) | |
download | bcm5719-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.cpp | 2 |
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, |