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

Chris Lattner clattner at apple.com
Tue Oct 5 15:19:40 PDT 2010


On Oct 5, 2010, at 2:20 PM, Rafael Espindola wrote:

> 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...

Even with -ffunction-sections?

-chris

> 
> 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)
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list