diff options
| author | Fangrui Song <i@maskray.me> | 2021-12-12 20:53:06 -0800 |
|---|---|---|
| committer | Fangrui Song <i@maskray.me> | 2021-12-12 20:53:06 -0800 |
| commit | 9115d75117b57115fe45153e5f38f2c444c0cd91 (patch) | |
| tree | d9d97d4e3a0b09e329ff6d2ce7757cb740815ac3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 1eaa9b4374f5559a2332b056ae66ddf78ad8bfff (diff) | |
[ELF] Use parallelSort for .rela.dyn
An unstable sort suffices. In a large link (11.06s), this decreases .rela.dyn
writeTo time from 1.52s to 0.81s, resulting in 6% total time speedup (the
benefit will greatly dilute if --pack-dyn-relocs=relr becomes prevailing).
Encoding the dynamic relocations then sorting raw Elf_Rel/Elf_Rela doesn't seem
to improve much (doing that would require code duplicate because of
Elf_Rel/Elf_Rela plus unfortunate mips64le), so don't do that.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
