[CG] Back out my pointless move ctor and add the explicit template
instantiation needed for the mingw dll build bot.
llvm-svn: 263114
diff --git a/llvm/lib/Analysis/CallGraph.cpp b/llvm/lib/Analysis/CallGraph.cpp
index 594e886..0b1bb62 100644
--- a/llvm/lib/Analysis/CallGraph.cpp
+++ b/llvm/lib/Analysis/CallGraph.cpp
@@ -259,6 +259,9 @@
}
}
+// Provide an explicit template instantiation for the static ID.
+template class llvm::AnalysisBase<CallGraphAnalysis>;
+
PreservedAnalyses CallGraphPrinterPass::run(Module &M,
AnalysisManager<Module> *AM) {
AM->getResult<CallGraphAnalysis>(M).print(OS);