commit | 29249c5b5d35c89a6c339aa89a81d3c111e91d11 | [log] [tgz] |
---|---|---|
author | Peter Collingbourne <peter@pcc.me.uk> | Wed Nov 21 21:29:35 2018 +0000 |
committer | Peter Collingbourne <peter@pcc.me.uk> | Wed Nov 21 21:29:35 2018 +0000 |
tree | 75a41c2ee1d777cef347d004bd059a22a2ff6a48 | |
parent | 833d8cf473b2c1e1981f8d3012cd176abced9ad2 [diff] |
COFF: ICF: Include contents of referenced sections in initial partitioning hash. NFCI. Previously we were taking over 13 minutes to link Firefox's xul.dll on ARM64; this reduces link time to around 18s on my machine. The root cause of the problem was that all of the input .pdata sections had the same unrelocated section data and therefore the same hash, which made segregation quadratic in the number of .pdata sections. The reason why we weren't observing this on other architectures was that ARM has a different .pdata format. On non-ARM the format is (start address, end address, .xdata), which caused the size of the function to appear in the unrelocated section data where the end address field is. However, the ARM format omits the end address field. Fixes PR39667. Differential Revision: https://reviews.llvm.org/D54809 git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@347429 91177308-0d34-0410-b5e6-96231b3b80d8
This directory and its subdirectories contain source code for the LLVM Linker, a modular cross platform linker which is built as part of the LLVM compiler infrastructure project.
lld is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.
In order to make sure various developers can evaluate patches over the same tests, we create a collection of self contained programs.
It is hosted at https://s3-us-west-2.amazonaws.com/linker-tests/lld-speed-test.tar.xz
The current sha256 is 10eec685463d5a8bbf08d77f4ca96282161d396c65bd97dc99dbde644a31610f.