diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-06-07 22:00:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-06-07 22:00:26 +0000 |
commit | 4f1bd9e9963239c119db70070db1d68286b3de7e (patch) | |
tree | d1606a0f29f57d16f5db895bb11a151a83cf0f11 /lib/VMCore/IntrinsicInst.cpp | |
parent | 6296b3cac5448afe910e9dd7953fb10082721c77 (diff) | |
download | external_llvm-4f1bd9e9963239c119db70070db1d68286b3de7e.zip external_llvm-4f1bd9e9963239c119db70070db1d68286b3de7e.tar.gz external_llvm-4f1bd9e9963239c119db70070db1d68286b3de7e.tar.bz2 |
For PR780:
1. Fix the macros in IncludeFile.h to put everything in the llvm namespace
2. Replace the previous explicit mechanism in all the .h and .cpp files
with the macros in IncludeFile.h
This gets us a consistent mechanism throughout LLVM for ensuring linkage.
Next step is to make sure its used in enough places.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/IntrinsicInst.cpp')
-rw-r--r-- | lib/VMCore/IntrinsicInst.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/VMCore/IntrinsicInst.cpp b/lib/VMCore/IntrinsicInst.cpp index b4395e1..598a99f 100644 --- a/lib/VMCore/IntrinsicInst.cpp +++ b/lib/VMCore/IntrinsicInst.cpp @@ -71,7 +71,5 @@ 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; +/// Ensure that users of IntrinsicInst.h will link with this module. +DEFINING_FILE_FOR(IntrinsicInst) |