[llvm] r198556 - [PM] Add a definition for the static PassID in the CallGraphAnalysis.

Chandler Carruth chandlerc at gmail.com
Sun Jan 5 02:38:53 PST 2014


Author: chandlerc
Date: Sun Jan  5 04:38:52 2014
New Revision: 198556

URL: http://llvm.org/viewvc/llvm-project?rev=198556&view=rev
Log:
[PM] Add a definition for the static PassID in the CallGraphAnalysis.
Missed this when adding the skeleton analysis. Caught by a build break
in the next patch I'm working on when trying to use the analysis.

Modified:
    llvm/trunk/lib/Analysis/IPA/CallGraph.cpp

Modified: llvm/trunk/lib/Analysis/IPA/CallGraph.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/IPA/CallGraph.cpp?rev=198556&r1=198555&r2=198556&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/IPA/CallGraph.cpp (original)
+++ llvm/trunk/lib/Analysis/IPA/CallGraph.cpp Sun Jan  5 04:38:52 2014
@@ -237,6 +237,12 @@ void CallGraphNode::replaceCallEdge(Call
 }
 
 //===----------------------------------------------------------------------===//
+// Out-of-line definitions of CallGraphAnalysis class members.
+//
+
+char CallGraphAnalysis::PassID;
+
+//===----------------------------------------------------------------------===//
 // Implementations of the CallGraphWrapperPass class methods.
 //
 





More information about the llvm-commits mailing list