From: Jim Grosbach Date: Thu, 4 Jun 2015 23:25:19 +0000 (+0000) Subject: MC: Move MachObjectWriter::SectionAddress to private. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=e2f87598ca1b04f61d5d7358ac1e5f5ed4da8731;p=oota-llvm.git 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 --- 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 {