[llvm-commits] [PATCH] MCSectionELF / MCContext

Chris Lattner clattner at apple.com
Wed Sep 29 16:56:02 PDT 2010


On Sep 29, 2010, at 3:13 PM, Jan Voung wrote:

> Hi all,
> 
> Requesting review for this: a second patch related to setting entry sizes for ELF sections. The first patch sent out earlier was for the .s - > .o code path. This patch is for the .ll -> .o code path.
> 
> Previously there was logic in the .ll -> .s printing that would check the SectionKind before printing the size, instead of actually using the EntrySize field. This patch shifts that logic out to where the section and its EntrySize field is initialized. That way, the code path for .ll -> .o will also be able to write out the correct entry size.

LGTM!

-Chris





More information about the llvm-commits mailing list