mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Stop using MCSectionData in MCExpr.h.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238163 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -21,13 +21,12 @@ class MCAssembler;
|
||||
class MCContext;
|
||||
class MCFixup;
|
||||
class MCSection;
|
||||
class MCSectionData;
|
||||
class MCStreamer;
|
||||
class MCSymbol;
|
||||
class MCValue;
|
||||
class raw_ostream;
|
||||
class StringRef;
|
||||
typedef DenseMap<const MCSectionData*, uint64_t> SectionAddrMap;
|
||||
typedef DenseMap<const MCSection *, uint64_t> SectionAddrMap;
|
||||
|
||||
/// \brief Base class for the full range of assembler expressions which are
|
||||
/// needed for parsing.
|
||||
|
||||
@@ -141,8 +141,8 @@ public:
|
||||
|
||||
SectionAddrMap &getSectionAddressMap() { return SectionAddress; }
|
||||
|
||||
uint64_t getSectionAddress(const MCSectionData* SD) const {
|
||||
return SectionAddress.lookup(SD);
|
||||
uint64_t getSectionAddress(const MCSection *Sec) const {
|
||||
return SectionAddress.lookup(Sec);
|
||||
}
|
||||
uint64_t getSymbolAddress(const MCSymbol &S, const MCAsmLayout &Layout) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user