Rafael Espindola 7c4f3dcc5e Produce a single string table in a ELF .o
Normally an ELF .o has two string tables, one for symbols, one for section
names.

With the scheme of naming sections like ".text.foo" where foo is a symbol,
there is a big potential saving in using a single one.

Building llvm+clang+lld with master and with this patch the results were:

master:                          193,267,008 bytes
patch:                           186,107,952 bytes
master non unique section names: 183,260,192 bytes
patch non unique section names:  183,118,632 bytes

So using non usique saves 10,006,816 bytes, and the patch saves 7,159,056 while
still using distinct names for the sections.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238073 91177308-0d34-0410-b5e6-96231b3b80d8
2015-05-22 23:58:30 +00:00
..
2014-01-21 20:39:11 +00:00
2015-04-30 14:21:49 +00:00
2015-05-22 21:37:13 +00:00
2012-08-12 08:21:27 +00:00
2015-05-22 21:37:13 +00:00
2014-07-01 14:34:30 +00:00
2013-04-12 04:06:46 +00:00
2013-04-12 04:06:46 +00:00
2015-05-22 21:37:13 +00:00
2015-04-20 12:44:06 +00:00
2015-05-22 21:37:13 +00:00
2015-05-22 21:37:13 +00:00
2015-05-22 21:37:13 +00:00
2015-04-17 21:15:17 +00:00
2015-05-22 21:37:13 +00:00