[llvm-commits] [llvm] r115858 - /llvm/trunk/lib/MC/ELFObjectWriter.cpp

Rafael Espindola rafael.espindola at gmail.com
Wed Oct 6 15:28:19 PDT 2010


Author: rafael
Date: Wed Oct  6 17:28:19 2010
New Revision: 115858

URL: http://llvm.org/viewvc/llvm-project?rev=115858&view=rev
Log:
Another case of 256 sections not being enough :-)

Modified:
    llvm/trunk/lib/MC/ELFObjectWriter.cpp

Modified: llvm/trunk/lib/MC/ELFObjectWriter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/ELFObjectWriter.cpp?rev=115858&r1=115857&r2=115858&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Wed Oct  6 17:28:19 2010
@@ -1128,7 +1128,7 @@
   // ... 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(),





More information about the llvm-commits mailing list