[llvm] r263114 - [CG] Back out my pointless move ctor and add the explicit template
Chandler Carruth via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 10 06:33:11 PST 2016
Author: chandlerc
Date: Thu Mar 10 08:33:10 2016
New Revision: 263114
URL: http://llvm.org/viewvc/llvm-project?rev=263114&view=rev
Log:
[CG] Back out my pointless move ctor and add the explicit template
instantiation needed for the mingw dll build bot.
Modified:
llvm/trunk/include/llvm/Analysis/CallGraph.h
llvm/trunk/lib/Analysis/CallGraph.cpp
Modified: llvm/trunk/include/llvm/Analysis/CallGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/CallGraph.h?rev=263114&r1=263113&r2=263114&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/CallGraph.h (original)
+++ llvm/trunk/include/llvm/Analysis/CallGraph.h Thu Mar 10 08:33:10 2016
@@ -312,7 +312,6 @@ class CallGraphPrinterPass : public Pass
public:
explicit CallGraphPrinterPass(raw_ostream &OS) : OS(OS) {}
- CallGraphPrinterPass(CallGraphPrinterPass &&Arg) : OS(Arg.OS) {}
PreservedAnalyses run(Module &M, AnalysisManager<Module> *AM);
};
Modified: llvm/trunk/lib/Analysis/CallGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CallGraph.cpp?rev=263114&r1=263113&r2=263114&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CallGraph.cpp (original)
+++ llvm/trunk/lib/Analysis/CallGraph.cpp Thu Mar 10 08:33:10 2016
@@ -259,6 +259,9 @@ void CallGraphNode::replaceCallEdge(Call
}
}
+// 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);
More information about the llvm-commits
mailing list