diff options
| author | Reid Kleckner <rnk@google.com> | 2019-04-19 22:51:49 +0000 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2019-04-19 22:51:49 +0000 |
| commit | a30920c31ffed9445ddc96203812fc812936c456 (patch) | |
| tree | 1a4eac0a5933e3b4cd8ea93046646f5706b571bc /clang/test/Analysis/virtualcall.h | |
| parent | a27252794e0785af0eff7367ac9d57d91dffe944 (diff) | |
| download | bcm5719-llvm-a30920c31ffed9445ddc96203812fc812936c456.tar.gz bcm5719-llvm-a30920c31ffed9445ddc96203812fc812936c456.zip | |
[COFF] Pack Name in Symbol as is done in ELF
Summary:
This assumes all symbols are <4GB long, so we can store them as a 32-bit
integer. This reorders the fields so the length appears first, packing
with the other bitfield data in the base Symbol object.
This saved 70MB / 3.60% of heap allocations when linking
browser_tests.exe with no PDB. It's not much as a percentage, but worth
doing. I didn't do performance measurements, I don't think it will be
measurable in time.
Reviewers: ruiu, inglorion, amccarth, aganea
Subscribers: llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60297
llvm-svn: 358794
Diffstat (limited to 'clang/test/Analysis/virtualcall.h')
0 files changed, 0 insertions, 0 deletions

