[all-commits] [llvm/llvm-project] 2eccde: [ELF] Make InputSection smaller
Fangrui Song via All-commits
all-commits at lists.llvm.org
Mon Nov 9 09:55:29 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2eccde4a2beb85eb10faf5184987bab180567e88
https://github.com/llvm/llvm-project/commit/2eccde4a2beb85eb10faf5184987bab180567e88
Author: Fangrui Song <i at maskray.me>
Date: 2020-11-09 (Mon, 09 Nov 2020)
Changed paths:
M lld/ELF/InputSection.h
Log Message:
-----------
[ELF] Make InputSection smaller
On LP64/Windows platforms, this decreases sizeof(InputSection) from 208 (larger
on Windows) to 184.
For a large executable (7.6GiB, inputSections.size()=5105122,
make<InputSection> called 4835760 times), this decreases cgroup
memory.max_usage_in_bytes by 0.6%
Reviewed By: grimar
Differential Revision: https://reviews.llvm.org/D91018
More information about the All-commits
mailing list