From 675e7a9e3d8188e9c2da7098c9d2d065f07590c4 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. llvm-svn: 3436 --- llvm/lib/VMCore/Pass.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/lib/VMCore/Pass.cpp b/llvm/lib/VMCore/Pass.cpp index d0433c740b87..33bf11d8e7fa 100644 --- a/llvm/lib/VMCore/Pass.cpp +++ b/llvm/lib/VMCore/Pass.cpp @@ -16,6 +16,9 @@ #include #include +// IncludeFile - Stub function used to help linking out. +IncludeFile::IncludeFile(void*) {} + //===----------------------------------------------------------------------===// // AnalysisID Class Implementation //