alx32 95d21f6015
[lld-macho] Reduce memory usage of printing thunks in map file (#122785)
This commit improves the memory efficiency of the lld-macho linker by
optimizing how thunks are printed in the map file. Previously, merging
vectors of input sections required creating a temporary vector, which
increased memory usage and in some cases caused the linker to run out of
memory as reported in comments on
https://github.com/llvm/llvm-project/pull/120496. The new approach
interleaves the printing of two arrays of ConcatInputSection in sorted
order without allocating additional memory for a merged array.
2025-01-15 22:58:24 -08:00
..
2022-01-19 13:12:18 -08:00
2022-09-20 10:16:45 -04:00
2024-01-23 09:08:43 -05:00
2022-07-26 01:41:51 +02:00
2023-02-15 17:34:35 +00:00
2022-02-01 11:57:04 +00:00
2021-05-11 13:31:32 -04:00
t.s
2021-05-10 15:45:54 -04:00
2023-07-19 16:39:31 -07:00
2021-05-10 15:45:54 -04:00