[llvm-commits] [llvm] r147132 - /llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
Rafael Espindola
rafael.espindola at gmail.com
Wed Dec 21 18:58:12 PST 2011
Author: rafael
Date: Wed Dec 21 20:58:12 2011
New Revision: 147132
URL: http://llvm.org/viewvc/llvm-project?rev=147132&view=rev
Log:
Make the virtual methods in ARMELFObjectWriter public.
Modified:
llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
Modified: llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp?rev=147132&r1=147131&r2=147132&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp Wed Dec 21 20:58:12 2011
@@ -23,12 +23,6 @@
namespace {
class ARMELFObjectWriter : public MCELFObjectTargetWriter {
enum { DefaultEABIVersion = 0x05000000U };
-
- const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
- const MCValue &Target,
- const MCFragment &F,
- const MCFixup &Fixup,
- bool IsPCRel) const;
unsigned GetRelocTypeInner(const MCValue &Target,
const MCFixup &Fixup,
bool IsPCRel) const;
@@ -38,11 +32,16 @@
ARMELFObjectWriter(uint8_t OSABI);
virtual ~ARMELFObjectWriter();
- protected:
+
virtual unsigned GetRelocType(const MCValue &Target, const MCFixup &Fixup,
bool IsPCRel, bool IsRelocWithSymbol,
int64_t Addend) const;
virtual unsigned getEFlags() const;
+ virtual const MCSymbol *ExplicitRelSym(const MCAssembler &Asm,
+ const MCValue &Target,
+ const MCFragment &F,
+ const MCFixup &Fixup,
+ bool IsPCRel) const;
};
}
More information about the llvm-commits
mailing list