aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-21 23:51:51 +0000
committerChris Lattner <sabre@nondot.org>2002-08-21 23:51:51 +0000
commitf20816bc787f632d443235d32989cdba04a32eda (patch)
treed81edb45b0f15faccc3ec061365514c5503750ab /lib
parent0383cc4455f59b081317d95f46f7b2c068ff6ae1 (diff)
- 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
Diffstat (limited to 'lib')
-rw-r--r--lib/VMCore/Pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp
index d0433c740b..33bf11d8e7 100644
--- a/lib/VMCore/Pass.cpp
+++ b/lib/VMCore/Pass.cpp
@@ -16,6 +16,9 @@
#include <sys/unistd.h>
#include <set>
+// IncludeFile - Stub function used to help linking out.
+IncludeFile::IncludeFile(void*) {}
+
//===----------------------------------------------------------------------===//
// AnalysisID Class Implementation
//