- Fighting with linking problem due to removing the ::ID elements. Now the
authorChris Lattner <sabre@nondot.org>
Wed, 21 Aug 2002 23:51:51 +0000 (23:51 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 21 Aug 2002 23:51:51 +0000 (23:51 +0000)
    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

index d0433c740b87141fc44c402be3722209bf168e30..33bf11d8e7faeb95f23f6298193ccd868a298fa6 100644 (file)
@@ -16,6 +16,9 @@
 #include <sys/unistd.h>
 #include <set>
 
+// IncludeFile - Stub function used to help linking out.
+IncludeFile::IncludeFile(void*) {}
+
 //===----------------------------------------------------------------------===//
 //   AnalysisID Class Implementation
 //