From: Chris Lattner Date: Wed, 21 Aug 2002 23:51:51 +0000 (+0000) Subject: - Fighting with linking problem due to removing the ::ID elements. Now the X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f20816bc787f632d443235d32989cdba04a32eda;p=oota-llvm.git - Fighting with linking problem due to removing the ::ID elements. Now the implementation .cpp files for analyses are not being included into gccas and friends because it is linking to the .a file and there is no explicit symbol reference to bring in the .o file. The new IncludeFile hack is the result. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3436 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index d0433c740b8..33bf11d8e7f 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -16,6 +16,9 @@ #include #include +// IncludeFile - Stub function used to help linking out. +IncludeFile::IncludeFile(void*) {} + //===----------------------------------------------------------------------===// // AnalysisID Class Implementation //