mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
Move getBaseSymbol somewhere the COFF writer can use.
I will use it there in a second. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207761 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -17,6 +17,7 @@ namespace llvm {
|
||||
class MCAssembler;
|
||||
class MCFragment;
|
||||
class MCSectionData;
|
||||
class MCSymbol;
|
||||
class MCSymbolData;
|
||||
|
||||
/// Encapsulates the layout of an assembly file at a particular point in time.
|
||||
@ -108,6 +109,9 @@ public:
|
||||
/// \brief Variant that reports a fatal error if the offset is not computable.
|
||||
uint64_t getSymbolOffset(const MCSymbolData *SD) const;
|
||||
|
||||
/// \brief If this symbol is equivalent to A + Constant, return A.
|
||||
const MCSymbol *getBaseSymbol(const MCSymbol &Symbol) const;
|
||||
|
||||
/// @}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user