[llvm] r324565 - ARM: Remove dead code. NFCI.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 21:28:39 PST 2018
Author: pcc
Date: Wed Feb 7 21:28:39 2018
New Revision: 324565
URL: http://llvm.org/viewvc/llvm-project?rev=324565&view=rev
Log:
ARM: Remove dead code. NFCI.
Modified:
llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.cpp
llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h
Modified: llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.cpp?rev=324565&r1=324564&r2=324565&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.cpp Wed Feb 7 21:28:39 2018
@@ -40,9 +40,6 @@ void ARMElfTargetObjectFile::Initialize(
if (isAAPCS_ABI) {
LSDASection = nullptr;
}
-
- AttributesSection =
- getContext().getELFSection(".ARM.attributes", ELF::SHT_ARM_ATTRIBUTES, 0);
}
const MCExpr *ARMElfTargetObjectFile::getTTypeGlobalReference(
Modified: llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h?rev=324565&r1=324564&r2=324565&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h (original)
+++ llvm/trunk/lib/Target/ARM/ARMTargetObjectFile.h Wed Feb 7 21:28:39 2018
@@ -16,9 +16,6 @@
namespace llvm {
class ARMElfTargetObjectFile : public TargetLoweringObjectFileELF {
-protected:
- const MCSection *AttributesSection = nullptr;
-
public:
ARMElfTargetObjectFile()
: TargetLoweringObjectFileELF() {
More information about the llvm-commits
mailing list