commit | 7e20d5d1626ccf53b04579f993b5e5c4878db16d | [log] [tgz] |
---|---|---|
author | Alexander Shaposhnikov <alexshap@fb.com> | Wed Mar 31 15:23:19 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Mon Apr 12 11:33:25 2021 -0700 |
tree | 019f41b6bc8e31bd4f068e5eb02e691fef8a92a5 | |
parent | 945656a5eefd4625d4b81b14a626d383eaf2934f [diff] |
[lld][MachO] Refactor handling of subsections This diff is a preparation for fixing FunStabs (incorrect size calculation). std::map<uint32_t, InputSection*> (SubsectionMap) is replaced with a sorted vector + binary search. If .subsections_via_symbols is set this vector will contain the list of subsections, otherwise, the offsets will be used for calculating the symbols sizes. Test plan: make check-all Differential revision: https://reviews.llvm.org/D98837 GitOrigin-RevId: f1e4e2fb204d24a62cc7eff912bcda08c4030977
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
.