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

Rafael Espindola rafael.espindola at gmail.com
Tue Oct 5 14:20:07 PDT 2010


Author: rafael
Date: Tue Oct  5 16:20:07 2010
New Revision: 115687

URL: http://llvm.org/viewvc/llvm-project?rev=115687&view=rev
Log:
256 sections should be enough for anyone...

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=115687&r1=115686&r2=115687&view=diff
==============================================================================
--- llvm/trunk/lib/MC/ELFObjectWriter.cpp (original)
+++ llvm/trunk/lib/MC/ELFObjectWriter.cpp Tue Oct  5 16:20:07 2010
@@ -736,7 +736,7 @@
 
   // Build section lookup table.
   NumRegularSections = Asm.size();
-  DenseMap<const MCSection*, uint8_t> SectionIndexMap;
+  DenseMap<const MCSection*, uint32_t> SectionIndexMap;
   unsigned Index = 1;
   for (MCAssembler::iterator it = Asm.begin(),
          ie = Asm.end(); it != ie; ++it, ++Index)





More information about the llvm-commits mailing list