mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
MC: Switch MCFragment to storing the layout order index, not its index in the file.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103751 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -96,9 +96,9 @@ private:
|
||||
/// initialized.
|
||||
uint64_t EffectiveSize;
|
||||
|
||||
/// Ordinal - The global index of this fragment. This is the index across all
|
||||
/// sections, not just the parent section.
|
||||
unsigned Ordinal;
|
||||
/// LayoutOrder - The global layout order of this fragment. This is the index
|
||||
/// across all fragments in the file, not just within the section.
|
||||
unsigned LayoutOrder;
|
||||
|
||||
/// @}
|
||||
|
||||
@@ -118,8 +118,8 @@ public:
|
||||
MCSymbolData *getAtom() const { return Atom; }
|
||||
void setAtom(MCSymbolData *Value) { Atom = Value; }
|
||||
|
||||
unsigned getOrdinal() const { return Ordinal; }
|
||||
void setOrdinal(unsigned Value) { Ordinal = Value; }
|
||||
unsigned getLayoutOrder() const { return LayoutOrder; }
|
||||
void setLayoutOrder(unsigned Value) { LayoutOrder = Value; }
|
||||
|
||||
static bool classof(const MCFragment *O) { return true; }
|
||||
|
||||
|
Reference in New Issue
Block a user