From e2f87598ca1b04f61d5d7358ac1e5f5ed4da8731 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Thu, 4 Jun 2015 23:25:19 +0000 Subject: [PATCH] MC: Move MachObjectWriter::SectionAddress to private. There's already a get() method everything that needs it is using. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239118 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/MC/MCMachObjectWriter.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/llvm/MC/MCMachObjectWriter.h b/include/llvm/MC/MCMachObjectWriter.h index f48ca8a728a..15a4ac6ebe6 100644 --- a/include/llvm/MC/MCMachObjectWriter.h +++ b/include/llvm/MC/MCMachObjectWriter.h @@ -98,6 +98,8 @@ class MachObjectWriter : public MCObjectWriter { llvm::DenseMap> Relocations; llvm::DenseMap IndirectSymBase; + SectionAddrMap SectionAddress; + /// @} /// \name Symbol Table Data /// @{ @@ -130,8 +132,6 @@ public: bool isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind); - SectionAddrMap SectionAddress; - SectionAddrMap &getSectionAddressMap() { return SectionAddress; } uint64_t getSectionAddress(const MCSection *Sec) const { -- 2.34.1