diff options
author | Jez Ng <jezng@fb.com> | 2022-10-25 16:26:57 -0400 |
---|---|---|
committer | Jez Ng <jezng@fb.com> | 2022-10-25 16:29:13 -0400 |
commit | 39917b5e0174e0e4206df31da0e32b984c96c404 (patch) | |
tree | 0ea80e5a00e543523bc7789c1652fc0c8c5a4cf9 /clang-tools-extra/clang-doc/BitcodeReader.cpp | |
parent | 51effa57818bf937fb7c889b8f567c146bb4eefe (diff) | |
download | llvm-39917b5e0174e0e4206df31da0e32b984c96c404.zip llvm-39917b5e0174e0e4206df31da0e32b984c96c404.tar.gz llvm-39917b5e0174e0e4206df31da0e32b984c96c404.tar.bz2 |
[lld-macho] Don't sort map file entries by name
ld64 emits them in address order but not in alphabetical order. This
sorting is particularly expensive for dead-stripped symbols (which don't
need to be sorted at all, unlike live symbols that need to be sorted by
address).
Timings for chromium_framework_less_dwarf (with the `-map` flag added to
the response file) on my 16-core Mac Pro:
base diff difference (95% CI)
sys_time 1.997 ± 0.038 2.004 ± 0.028 [ -0.6% .. +1.3%]
user_time 8.698 ± 0.085 8.167 ± 0.070 [ -6.6% .. -5.6%]
wall_time 7.965 ± 0.114 7.715 ± 0.347 [ -5.1% .. -1.2%]
samples 25 23
Reviewed By: #lld-macho, thakis
Differential Revision: https://reviews.llvm.org/D136536
Diffstat (limited to 'clang-tools-extra/clang-doc/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions