diff options
| -rw-r--r-- | llvm/lib/MC/ELFObjectWriter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/ELFObjectWriter.cpp b/llvm/lib/MC/ELFObjectWriter.cpp index fb0518b2ec4..8a8d68e55a8 100644 --- a/llvm/lib/MC/ELFObjectWriter.cpp +++ b/llvm/lib/MC/ELFObjectWriter.cpp @@ -1128,7 +1128,7 @@ void ELFObjectWriterImpl::WriteObject(MCAssembler &Asm, // ... then all of the sections ... DenseMap<const MCSection*, uint64_t> SectionOffsetMap; - DenseMap<const MCSection*, uint8_t> SectionIndexMap; + DenseMap<const MCSection*, uint32_t> SectionIndexMap; unsigned Index = 1; for (MCAssembler::const_iterator it = Asm.begin(), |

