diff options
author | Chris Lattner <sabre@nondot.org> | 2002-08-21 23:51:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2002-08-21 23:51:51 +0000 |
commit | f20816bc787f632d443235d32989cdba04a32eda (patch) | |
tree | d81edb45b0f15faccc3ec061365514c5503750ab | |
parent | 0383cc4455f59b081317d95f46f7b2c068ff6ae1 (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
-rw-r--r-- | lib/VMCore/Pass.cpp | 3 |
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 // |