diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-05-13 15:17:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-05-13 15:17:26 +0000 |
commit | f60c736c64d6c9d683df1cead3631958359c14f1 (patch) | |
tree | 2a0c2f020fdd44ea66de9c6612ff9152837418fe /include/llvm/MC/MCAssembler.h | |
parent | 62bacd69c2a21d55c308fb3e94e550559762b32c (diff) | |
download | external_llvm-f60c736c64d6c9d683df1cead3631958359c14f1.zip external_llvm-f60c736c64d6c9d683df1cead3631958359c14f1.tar.gz external_llvm-f60c736c64d6c9d683df1cead3631958359c14f1.tar.bz2 |
MC: Add section layout order indices to MCSectionData.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103715 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCAssembler.h')
-rw-r--r-- | include/llvm/MC/MCAssembler.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/MC/MCAssembler.h b/include/llvm/MC/MCAssembler.h index 33fa295..095b174 100644 --- a/include/llvm/MC/MCAssembler.h +++ b/include/llvm/MC/MCAssembler.h @@ -392,6 +392,9 @@ private: /// Ordinal - The section index in the assemblers section list. unsigned Ordinal; + /// LayoutOrder - The index of this section in the layout order. + unsigned LayoutOrder; + /// Alignment - The maximum alignment seen in this section. unsigned Alignment; @@ -426,6 +429,9 @@ public: unsigned getOrdinal() const { return Ordinal; } void setOrdinal(unsigned Value) { Ordinal = Value; } + unsigned getLayoutOrder() const { return LayoutOrder; } + void setLayoutOrder(unsigned Value) { LayoutOrder = Value; } + /// @name Fragment Access /// @{ |