From f20816bc787f632d443235d32989cdba04a32eda Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 21 Aug 2002 23:51:51 +0000 Subject: [PATCH] - 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 --- lib/VMCore/Pass.cpp | 3 +++ 1 file changed, 3 insertions(+) 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 //