diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2018-02-08 05:28:39 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2018-02-08 05:28:39 +0000 |
commit | 559ff1fe03c656bd3e568b9f0971c15fa803edec (patch) | |
tree | b7380e3a7984ba3d068ef5684372934788412a41 | |
parent | d80372c45e0e1efcb5ed34ac820586dca8f6aa56 (diff) | |
download | bcm5719-llvm-559ff1fe03c656bd3e568b9f0971c15fa803edec.tar.gz bcm5719-llvm-559ff1fe03c656bd3e568b9f0971c15fa803edec.zip |
ARM: Remove dead code. NFCI.
llvm-svn: 324565
-rw-r--r-- | llvm/lib/Target/ARM/ARMTargetObjectFile.cpp | 3 | ||||
-rw-r--r-- | llvm/lib/Target/ARM/ARMTargetObjectFile.h | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp index 88bab64ffaf..d0620761ea9 100644 --- a/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp +++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.cpp @@ -40,9 +40,6 @@ void ARMElfTargetObjectFile::Initialize(MCContext &Ctx, if (isAAPCS_ABI) { LSDASection = nullptr; } - - AttributesSection = - getContext().getELFSection(".ARM.attributes", ELF::SHT_ARM_ATTRIBUTES, 0); } const MCExpr *ARMElfTargetObjectFile::getTTypeGlobalReference( diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.h b/llvm/lib/Target/ARM/ARMTargetObjectFile.h index bd7aa1cfe02..a5463a67763 100644 --- a/llvm/lib/Target/ARM/ARMTargetObjectFile.h +++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.h @@ -16,9 +16,6 @@ namespace llvm { class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF { -protected: - const MCSection *AttributesSection = nullptr; - public: ARMElfTargetObjectFile() : TargetLoweringObjectFileELF() { |