mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-26 12:20:42 +00:00
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
This commit is contained in:
@@ -58,16 +58,6 @@ public:
|
||||
/// fragments size should have already been updated.
|
||||
void Invalidate(MCFragment *F);
|
||||
|
||||
/// \brief Update the layout, replacing Src with Dst. The contents
|
||||
/// of Src and Dst are not modified, and must be copied by the caller.
|
||||
/// Src will be removed from the layout, but not deleted.
|
||||
void ReplaceFragment(MCFragment *Src, MCFragment *Dst);
|
||||
|
||||
/// \brief Update the layout to coalesce Src into Dst. The contents
|
||||
/// of Src and Dst are not modified, and must be coalesced by the caller.
|
||||
/// Src will be removed from the layout, but not deleted.
|
||||
void CoalesceFragments(MCFragment *Src, MCFragment *Dst);
|
||||
|
||||
/// \brief Perform a full layout.
|
||||
void LayoutFile();
|
||||
|
||||
|
||||
@@ -735,6 +735,9 @@ private:
|
||||
/// FinishLayout - Finalize a layout, including fragment lowering.
|
||||
void FinishLayout(MCAsmLayout &Layout);
|
||||
|
||||
uint64_t HandleFixup(MCObjectWriter &Writer, const MCAsmLayout &Layout,
|
||||
MCFragment &F, const MCFixup &Fixup);
|
||||
|
||||
public:
|
||||
/// Find the symbol which defines the atom containing the given symbol, or
|
||||
/// null if there is no such symbol.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user