mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
MC: Direct all {fragment,section,symbol} address access through the MCAsmLayout object.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99380 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -699,15 +699,17 @@ public:
|
||||
/// Find the symbol which defines the atom containing given address, inside
|
||||
/// the given section, or null if there is no such symbol.
|
||||
//
|
||||
// FIXME: Eliminate this, it is very slow.
|
||||
const MCSymbolData *getAtomForAddress(const MCSectionData *Section,
|
||||
// FIXME-PERF: Eliminate this, it is very slow.
|
||||
const MCSymbolData *getAtomForAddress(const MCAsmLayout &Layout,
|
||||
const MCSectionData *Section,
|
||||
uint64_t Address) const;
|
||||
|
||||
/// Find the symbol which defines the atom containing the given symbol, or
|
||||
/// null if there is no such symbol.
|
||||
//
|
||||
// FIXME: Eliminate this, it is very slow.
|
||||
const MCSymbolData *getAtom(const MCSymbolData *Symbol) const;
|
||||
// FIXME-PERF: Eliminate this, it is very slow.
|
||||
const MCSymbolData *getAtom(const MCAsmLayout &Layout,
|
||||
const MCSymbolData *Symbol) const;
|
||||
|
||||
/// Check whether a particular symbol is visible to the linker and is required
|
||||
/// in the symbol table, or whether it can be discarded by the assembler. This
|
||||
|
Reference in New Issue
Block a user