aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/InlineAsm.h
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-07 23:03:13 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-07 23:03:13 +0000
commitaf303d53e6013417d189621c75179df6c7cbdcde (patch)
tree9b2ef2802a9e40a4a2ec2a63fb981d987e49d55f /include/llvm/InlineAsm.h
parent3bdac5171bd7d661dd54cc30d9cbc55a3039c6c0 (diff)
downloadexternal_llvm-af303d53e6013417d189621c75179df6c7cbdcde.zip
external_llvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.gz
external_llvm-af303d53e6013417d189621c75179df6c7cbdcde.tar.bz2
For PR780:
1. Add #includes to LinkAllVMCore.h to get Mangler.o and InlineAsm.o 2. Make Mangler.h and InlineAsm.h use the macros to ensure linkage 3. Make each of the tools with --load options include LinkAllVMCore.h This should be the last set of changes for this bug and 800. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28719 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/InlineAsm.h')
-rw-r--r--include/llvm/InlineAsm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/InlineAsm.h b/include/llvm/InlineAsm.h
index 9777498..6e7aab1 100644
--- a/include/llvm/InlineAsm.h
+++ b/include/llvm/InlineAsm.h
@@ -17,6 +17,7 @@
#define LLVM_INLINEASM_H
#include "llvm/Value.h"
+#include "llvm/Support/IncludeFile.h"
#include <vector>
namespace llvm {
@@ -35,7 +36,7 @@ class InlineAsm : public Value {
InlineAsm(const FunctionType *Ty, const std::string &AsmString,
const std::string &Constraints, bool hasSideEffects);
- ~InlineAsm();
+ virtual ~InlineAsm();
public:
/// InlineAsm::get - Return the the specified uniqued inline asm string.
@@ -128,4 +129,7 @@ public:
} // End llvm namespace
+// Make sure the InlineAsm.cpp file is linked when this one is #included.
+FORCE_DEFINING_FILE_TO_BE_LINKED(InlineAsm)
+
#endif