[Patch] Merge diagnostic group tables to reduce data size and relocation entries

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Aug 26 08:32:12 PDT 2013


Even on a statically linked clang this saves 21 KB. LGTM.

On 31 July 2013 12:30, Craig Topper <craig.topper at gmail.com> wrote:
> Ping.
>
>
> On Sun, Jul 21, 2013 at 9:07 PM, Craig Topper <craig.topper at gmail.com>
> wrote:
>>
>> This patch merges the individual tables for diagnostics in groups and the
>> subgroups into single tables. The option table then store an index into
>> these two tables instead of pointers. This reduces the size of the options
>> table (since it doesn't need to store pointers) and the number of
>> relocations needed.
>>
>> My build shows this reducing DiagnosticIDs.o by ~20.5K and removes about
>> ~400 relocation entries from the same.
>>
>> --
>> ~Craig
>
>
>
>
> --
> ~Craig
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>



More information about the cfe-commits mailing list