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/Analysis/LazyCallGraph.cpp | |
parent | c9aaa3171d522d6048898620ff97b01b0c9a519e (diff) | |
download | llvm-df0cd72657c898b1ed2b67c55b41459bc3ab5ab0.zip llvm-df0cd72657c898b1ed2b67c55b41459bc3ab5ab0.tar.gz llvm-df0cd72657c898b1ed2b67c55b41459bc3ab5ab0.tar.bz2 |
[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/Analysis/LazyCallGraph.cpp')
-rw-r--r-- | llvm/lib/Analysis/LazyCallGraph.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LazyCallGraph.cpp b/llvm/lib/Analysis/LazyCallGraph.cpp index 88f5cd7..718c864 100644 --- a/llvm/lib/Analysis/LazyCallGraph.cpp +++ b/llvm/lib/Analysis/LazyCallGraph.cpp @@ -1499,6 +1499,8 @@ LazyCallGraph::RefSCC *LazyCallGraph::getNextRefSCCInPostOrder() { } } +template class llvm::AnalysisBase<LazyCallGraphAnalysis>; + LazyCallGraphPrinterPass::LazyCallGraphPrinterPass(raw_ostream &OS) : OS(OS) {} static void printNode(raw_ostream &OS, LazyCallGraph::Node &N) { |