diff options
| author | alx32 <103613512+alx32@users.noreply.github.com> | 2025-01-15 22:58:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-15 22:58:24 -0800 |
| commit | 95d21f6015241f1fbf36e495f101080bdcee8cd4 (patch) | |
| tree | 6e75a367f02b38f055b58e56afeb0ca53d053c0d /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h | |
| parent | f9a80062470daf94e07f65f9dd23df6a4f2946a2 (diff) | |
| download | llvm-95d21f6015241f1fbf36e495f101080bdcee8cd4.zip llvm-95d21f6015241f1fbf36e495f101080bdcee8cd4.tar.gz llvm-95d21f6015241f1fbf36e495f101080bdcee8cd4.tar.bz2 | |
[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.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.h')
0 files changed, 0 insertions, 0 deletions
