[llvm] r239118 - MC: Move MachObjectWriter::SectionAddress to private.
Jim Grosbach
grosbach at apple.com
Thu Jun 4 16:25:19 PDT 2015
Author: grosbach
Date: Thu Jun 4 18:25:19 2015
New Revision: 239118
URL: http://llvm.org/viewvc/llvm-project?rev=239118&view=rev
Log:
MC: Move MachObjectWriter::SectionAddress to private.
There's already a get() method everything that needs it is using.
Modified:
llvm/trunk/include/llvm/MC/MCMachObjectWriter.h
Modified: llvm/trunk/include/llvm/MC/MCMachObjectWriter.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCMachObjectWriter.h?rev=239118&r1=239117&r2=239118&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCMachObjectWriter.h (original)
+++ llvm/trunk/include/llvm/MC/MCMachObjectWriter.h Thu Jun 4 18:25:19 2015
@@ -98,6 +98,8 @@ class MachObjectWriter : public MCObject
llvm::DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
llvm::DenseMap<const MCSection *, unsigned> 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 {
More information about the llvm-commits
mailing list