[PM] Add a definition for the static PassID in the CallGraphAnalysis.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 5 Jan 2014 10:38:52 +0000 (10:38 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 5 Jan 2014 10:38:52 +0000 (10:38 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198556 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/IPA/CallGraph.cpp

index de8164cc2dbd5e269305043827aa03ec3502d95d..87369fb6bd4cf6a3717fe7e6bc707c00921bdbd2 100644 (file)
@@ -236,6 +236,12 @@ void CallGraphNode::replaceCallEdge(CallSite CS,
   }
 }
 
   }
 }
 
+//===----------------------------------------------------------------------===//
+// Out-of-line definitions of CallGraphAnalysis class members.
+//
+
+char CallGraphAnalysis::PassID;
+
 //===----------------------------------------------------------------------===//
 // Implementations of the CallGraphWrapperPass class methods.
 //
 //===----------------------------------------------------------------------===//
 // Implementations of the CallGraphWrapperPass class methods.
 //