diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-18 05:37:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-18 05:37:28 +0000 |
commit | 1ec5bd31fe491e610839ea448bd99fd171785837 (patch) | |
tree | 7d7198b7dd08a147c37708b965589230ad88fd72 /lib/Target/ARM/ARMAsmBackend.cpp | |
parent | 54f08852f6c45a1165295d66bd072e2d1da7a6d1 (diff) | |
download | external_llvm-1ec5bd31fe491e610839ea448bd99fd171785837.zip external_llvm-1ec5bd31fe491e610839ea448bd99fd171785837.tar.gz external_llvm-1ec5bd31fe491e610839ea448bd99fd171785837.tar.bz2 |
Remove the MCObjectFormat class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmBackend.cpp')
-rw-r--r-- | lib/Target/ARM/ARMAsmBackend.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/Target/ARM/ARMAsmBackend.cpp b/lib/Target/ARM/ARMAsmBackend.cpp index b7274ca..c72e790 100644 --- a/lib/Target/ARM/ARMAsmBackend.cpp +++ b/lib/Target/ARM/ARMAsmBackend.cpp @@ -16,7 +16,6 @@ #include "llvm/MC/MCELFObjectWriter.h" #include "llvm/MC/MCExpr.h" #include "llvm/MC/MCMachObjectWriter.h" -#include "llvm/MC/MCObjectFormat.h" #include "llvm/MC/MCObjectWriter.h" #include "llvm/MC/MCSectionELF.h" #include "llvm/MC/MCSectionMachO.h" @@ -350,17 +349,11 @@ namespace { // FIXME: This should be in a separate file. // ELF is an ELF of course... class ELFARMAsmBackend : public ARMAsmBackend { - MCELFObjectFormat Format; - public: Triple::OSType OSType; ELFARMAsmBackend(const Target &T, Triple::OSType _OSType) : ARMAsmBackend(T), OSType(_OSType) { } - virtual const MCObjectFormat &getObjectFormat() const { - return Format; - } - void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, uint64_t Value) const; @@ -389,14 +382,9 @@ void ELFARMAsmBackend::ApplyFixup(const MCFixup &Fixup, char *Data, // FIXME: This should be in a separate file. class DarwinARMAsmBackend : public ARMAsmBackend { - MCMachOObjectFormat Format; public: DarwinARMAsmBackend(const Target &T) : ARMAsmBackend(T) { } - virtual const MCObjectFormat &getObjectFormat() const { - return Format; - } - void ApplyFixup(const MCFixup &Fixup, char *Data, unsigned DataSize, uint64_t Value) const; |