aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/TargetAsmBackend.h
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-10 04:01:09 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-10 04:01:09 +0000
commitf7fd4aa2610f46467369de07f3ec669561d79be0 (patch)
treeba219076796941e4d0e03ce11b8f6da2bdf00ec6 /include/llvm/Target/TargetAsmBackend.h
parent51c06bf6ad16adf0637e7dc910c9943cdb5d000b (diff)
downloadexternal_llvm-f7fd4aa2610f46467369de07f3ec669561d79be0.tar.gz
external_llvm-f7fd4aa2610f46467369de07f3ec669561d79be0.tar.bz2
external_llvm-f7fd4aa2610f46467369de07f3ec669561d79be0.zip
Revert my previous patch to make the valgrind bots happy.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121461 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetAsmBackend.h')
-rw-r--r--include/llvm/Target/TargetAsmBackend.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmBackend.h b/include/llvm/Target/TargetAsmBackend.h
index e204a5fed5..4805e1966f 100644
--- a/include/llvm/Target/TargetAsmBackend.h
+++ b/include/llvm/Target/TargetAsmBackend.h
@@ -21,6 +21,7 @@ class MCObjectWriter;
class MCSection;
template<typename T>
class SmallVectorImpl;
+class Target;
class raw_ostream;
/// TargetAsmBackend - Generic interface to target specific assembler backends.
@@ -80,6 +81,9 @@ public:
return true;
}
+ /// getPointerSize - Get the pointer size in bytes.
+ virtual unsigned getPointerSize() const = 0;
+
/// ApplyFixup - Apply the \arg Value for given \arg Fixup into the provided
/// data fragment, at the offset specified by the fixup and following the
/// fixup kind as appropriate.