diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-06 03:48:09 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-06 03:48:09 +0000 |
commit | f8803fe4177739f9a6900198f601808eb27934d9 (patch) | |
tree | 98dcc5a9293c59cf7214520fef87c2f25917ca68 /lib/MC/MCAssembler.cpp | |
parent | f3faf92636a7da01d3cfff1e969988b5fff795eb (diff) |
Remove the getAddress getter, initialize Ordinal in the constructor and use
that on the ELF writer to detect a section we created.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120981 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAssembler.cpp')
-rw-r--r-- | lib/MC/MCAssembler.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAssembler.cpp b/lib/MC/MCAssembler.cpp index c4e775e2c9..ac0f31f79e 100644 --- a/lib/MC/MCAssembler.cpp +++ b/lib/MC/MCAssembler.cpp @@ -218,6 +218,7 @@ MCSectionData::MCSectionData() : Section(0) {} MCSectionData::MCSectionData(const MCSection &_Section, MCAssembler *A) : Section(&_Section), + Ordinal(~UINT32_C(0)), Alignment(1), Address(~UINT64_C(0)), HasInstructions(false) |