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

Craig Topper craig.topper at gmail.com
Sun Jul 21 21:07:44 PDT 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130721/fc436217/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diag.patch
Type: application/octet-stream
Size: 7318 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130721/fc436217/attachment.obj>


More information about the cfe-commits mailing list