aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-06 19:08:48 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-06 19:08:48 +0000
commit179821ac1f282ef6f8d24d5ea346028aee8ba4c7 (patch)
tree25a5861add458a1bafe0a084a2cdc08827ffc48e /include/llvm/Target
parentc76c59840b7a4491afdcd2f35483f8d6e5ab533a (diff)
downloadexternal_llvm-179821ac1f282ef6f8d24d5ea346028aee8ba4c7.zip
external_llvm-179821ac1f282ef6f8d24d5ea346028aee8ba4c7.tar.gz
external_llvm-179821ac1f282ef6f8d24d5ea346028aee8ba4c7.tar.bz2
Remove the instruction fragment to data fragment lowering since it was causing
freed data to be read. I will open a bug to track it being reenabled. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121028 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target')
-rw-r--r--include/llvm/Target/TargetAsmBackend.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetAsmBackend.h b/include/llvm/Target/TargetAsmBackend.h
index 6faedf4..ba34472 100644
--- a/include/llvm/Target/TargetAsmBackend.h
+++ b/include/llvm/Target/TargetAsmBackend.h
@@ -13,7 +13,6 @@
#include "llvm/Support/DataTypes.h"
namespace llvm {
-class MCDataFragment;
class MCFixup;
class MCInst;
class MCObjectFormat;
@@ -87,7 +86,7 @@ public:
/// 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.
- virtual void ApplyFixup(const MCFixup &Fixup, MCDataFragment &Fragment,
+ virtual void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize,
uint64_t Value) const = 0;
/// MayNeedRelaxation - Check whether the given instruction may need