mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
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
This commit is contained in:
parent
679607868f
commit
e2f87598ca
@ -98,6 +98,8 @@ class MachObjectWriter : public MCObjectWriter {
|
|||||||
llvm::DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
|
llvm::DenseMap<const MCSection *, std::vector<RelAndSymbol>> Relocations;
|
||||||
llvm::DenseMap<const MCSection *, unsigned> IndirectSymBase;
|
llvm::DenseMap<const MCSection *, unsigned> IndirectSymBase;
|
||||||
|
|
||||||
|
SectionAddrMap SectionAddress;
|
||||||
|
|
||||||
/// @}
|
/// @}
|
||||||
/// \name Symbol Table Data
|
/// \name Symbol Table Data
|
||||||
/// @{
|
/// @{
|
||||||
@ -130,8 +132,6 @@ public:
|
|||||||
|
|
||||||
bool isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind);
|
bool isFixupKindPCRel(const MCAssembler &Asm, unsigned Kind);
|
||||||
|
|
||||||
SectionAddrMap SectionAddress;
|
|
||||||
|
|
||||||
SectionAddrMap &getSectionAddressMap() { return SectionAddress; }
|
SectionAddrMap &getSectionAddressMap() { return SectionAddress; }
|
||||||
|
|
||||||
uint64_t getSectionAddress(const MCSection *Sec) const {
|
uint64_t getSectionAddress(const MCSection *Sec) const {
|
||||||
|
Loading…
Reference in New Issue
Block a user