diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2015-01-31 19:27:28 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2015-01-31 19:27:28 +0000 | 
| commit | ec304151b74f9254d7029ee4d197ce1f7cbe501a (patch) | |
| tree | 63e4ed55e4fbb581fd4731d44a327a7b3278e0a1 /lib/MC/WinCOFFObjectWriter.cpp | |
| parent | 67c32a98315f785a9ec9d531c1f571a0196c7463 (diff) | |
Notes
Diffstat (limited to 'lib/MC/WinCOFFObjectWriter.cpp')
| -rw-r--r-- | lib/MC/WinCOFFObjectWriter.cpp | 12 | 
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/MC/WinCOFFObjectWriter.cpp b/lib/MC/WinCOFFObjectWriter.cpp index d8729bdbc4bb..c17f99b9bd7b 100644 --- a/lib/MC/WinCOFFObjectWriter.cpp +++ b/lib/MC/WinCOFFObjectWriter.cpp @@ -175,7 +175,7 @@ public:                                                const MCFragment &FB, bool InSet,                                                bool IsPCRel) const override; -  void RecordRelocation(MCAssembler &Asm, const MCAsmLayout &Layout, +  void RecordRelocation(const MCAssembler &Asm, const MCAsmLayout &Layout,                          const MCFragment *Fragment, const MCFixup &Fixup,                          MCValue Target, bool &IsPCRel,                          uint64_t &FixedValue) override; @@ -661,9 +661,13 @@ bool WinCOFFObjectWriter::IsSymbolRefDifferenceFullyResolvedImpl(                                                                  InSet, IsPCRel);  } -void WinCOFFObjectWriter::RecordRelocation( -    MCAssembler &Asm, const MCAsmLayout &Layout, const MCFragment *Fragment, -    const MCFixup &Fixup, MCValue Target, bool &IsPCRel, uint64_t &FixedValue) { +void WinCOFFObjectWriter::RecordRelocation(const MCAssembler &Asm, +                                           const MCAsmLayout &Layout, +                                           const MCFragment *Fragment, +                                           const MCFixup &Fixup, +                                           MCValue Target, +                                           bool &IsPCRel, +                                           uint64_t &FixedValue) {    assert(Target.getSymA() && "Relocation must reference a symbol!");    const MCSymbol &Symbol = Target.getSymA()->getSymbol();  | 
