diff options
author | Martin Storsjö <martin@martin.st> | 2022-02-28 13:01:51 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2022-03-01 18:44:03 +0200 |
commit | 9ffeaaa0ea54307db309104696a0b6cce6ddda38 (patch) | |
tree | 216c129ef51b263d35744750f193f7846b783b00 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | f9c545e1e2250e8a428730416a7e90f0a0ebe2ea (diff) | |
download | llvm-9ffeaaa0ea54307db309104696a0b6cce6ddda38.zip llvm-9ffeaaa0ea54307db309104696a0b6cce6ddda38.tar.gz llvm-9ffeaaa0ea54307db309104696a0b6cce6ddda38.tar.bz2 |
[LLD] [COFF] Use StringTableBuilder to optimize the string table
This does tail merging (and deduplication) of the strings.
On a statically linked clang.exe, this shrinks the ~17 MB string
table by around 0.5 MB. This adds ~160 ms to the linking time
which originally was around 950 ms.
For cases where `-debug:symtab` or `-debug:dwarf` isn't set, the
string table is only used for long section names, where this
shouldn't make any difference at all.
Differential Revision: https://reviews.llvm.org/D120677
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions