Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit e2f8759

Browse files
author
Jim Grosbach
committed
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
1 parent 6796078 commit e2f8759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/llvm/MC/MCMachObjectWriter.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ class MachObjectWriter : public MCObjectWriter {
9898
llvm::DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
9999
llvm::DenseMap<const MCSection *, unsigned> IndirectSymBase;
100100

101+
SectionAddrMap SectionAddress;
102+
101103
/// @}
102104
/// \name Symbol Table Data
103105
/// @{
@@ -130,8 +132,6 @@ class MachObjectWriter : public MCObjectWriter {
130132

131133
bool isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind);
132134

133-
SectionAddrMap SectionAddress;
134-
135135
SectionAddrMap &getSectionAddressMap() { return SectionAddress; }
136136

137137
uint64_t getSectionAddress(const MCSection *Sec) const {

0 commit comments

Comments
 (0)