summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/CallGraph.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-03-10 14:33:10 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-03-10 14:33:10 +0000
commitcf3f4f25cad8969dc3f6c718d4f7e7b41bb1520f (patch)
treed2142baba07393eebca7a3660d3bcea5de31ec12 /llvm/lib/Analysis/CallGraph.cpp
parent0d1e3fff2b422f08e774982de0374b222d4d6710 (diff)
downloadbcm5719-llvm-cf3f4f25cad8969dc3f6c718d4f7e7b41bb1520f.tar.gz
bcm5719-llvm-cf3f4f25cad8969dc3f6c718d4f7e7b41bb1520f.zip
[CG] Back out my pointless move ctor and add the explicit template
instantiation needed for the mingw dll build bot. llvm-svn: 263114
Diffstat (limited to 'llvm/lib/Analysis/CallGraph.cpp')
-rw-r--r--llvm/lib/Analysis/CallGraph.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/CallGraph.cpp b/llvm/lib/Analysis/CallGraph.cpp
index 594e886e539..0b1bb620604 100644
--- a/llvm/lib/Analysis/CallGraph.cpp
+++ b/llvm/lib/Analysis/CallGraph.cpp
@@ -259,6 +259,9 @@ void CallGraphNode::replaceCallEdge(CallSite CS,
}
}
+// 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);
OpenPOWER on IntegriCloud