summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit675e7a9e3d8188e9c2da7098c9d2d065f07590c4 (patch)
treedd9121004afdc1186ae9d0ea05ee8aa0da39359a /llvm/lib
parent319c47adec3ecc6129e385b05f18913098463145 (diff)
downloadbcm5719-llvm-675e7a9e3d8188e9c2da7098c9d2d065f07590c4.tar.gz
bcm5719-llvm-675e7a9e3d8188e9c2da7098c9d2d065f07590c4.zip
- 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
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Pass.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Pass.cpp b/llvm/lib/VMCore/Pass.cpp
index d0433c740b8..33bf11d8e7f 100644
--- a/llvm/lib/VMCore/Pass.cpp
+++ b/llvm/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
//
OpenPOWER on IntegriCloud