diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-07 20:00:19 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-07 20:00:19 +0000 |
commit | 6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690 (patch) | |
tree | d5e3f627411a59fbe751d3208a73c0ab053baee8 /lib/VMCore | |
parent | 19fd7ef7300616aa245e15e73b435c9bd0c83de3 (diff) | |
download | llvm-6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690.tar.gz llvm-6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690.tar.bz2 llvm-6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690.tar.xz |
For PR780:
Break the "IncludeFile" mechanism into its own header file and adjust other
files accordingly. Use this facility for the IntrinsicInst problem which
was the subject of PR800.
More to follow on this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore')
-rw-r--r-- | lib/VMCore/IntrinsicInst.cpp | 4 | ||||
-rw-r--r-- | lib/VMCore/Pass.cpp | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/VMCore/IntrinsicInst.cpp b/lib/VMCore/IntrinsicInst.cpp index 2c2c5a96ed..b4395e1cd3 100644 --- a/lib/VMCore/IntrinsicInst.cpp +++ b/lib/VMCore/IntrinsicInst.cpp @@ -71,3 +71,7 @@ std::string DbgStopPointInst::getDirectory() const { } //===----------------------------------------------------------------------===// +/// LinkIntrinsicInstStub -- This is a hack to make sure that programs that +/// #include IntrinsicInst.h also link this file. See Support/IncludeFile.h +/// for further details. +char llvm::LinkIntrinsicInstStub; diff --git a/lib/VMCore/Pass.cpp b/lib/VMCore/Pass.cpp index 9fed647543..a7160f1f1e 100644 --- a/lib/VMCore/Pass.cpp +++ b/lib/VMCore/Pass.cpp @@ -23,9 +23,6 @@ #include <set> using namespace llvm; -// IncludeFile - Stub function used to help linking out. -IncludeFile::IncludeFile(void*) {} - //===----------------------------------------------------------------------===// // AnalysisID Class Implementation // |