diff options
author | George Rimar <grimar@accesssoftek.com> | 2017-09-27 09:08:53 +0000 |
---|---|---|
committer | George Rimar <grimar@accesssoftek.com> | 2017-09-27 09:08:53 +0000 |
commit | 5d6efd100b03b31f5b6a2d5e31a58f9541267927 (patch) | |
tree | baecb4f00039facc88d741770fcde60b231cf98b /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py | |
parent | 25ea19ea86c6bc0336fb7d7768dcd81f95f6686a (diff) | |
download | bcm5719-llvm-5d6efd100b03b31f5b6a2d5e31a58f9541267927.tar.gz bcm5719-llvm-5d6efd100b03b31f5b6a2d5e31a58f9541267927.zip |
[ELF] - Speedup -r and --emit-relocs
This is "Bug 34688 - lld much slower than bfd when linking the linux kernel"
Inside copyRelocations() we have O(N*M) algorithm, where N - amount of
relocations and M - amount of symbols in symbol table. It isincredibly slow
for linking linux kernel.
Patch creates local search tables to speedup.
With this fix link time goes for me from 12.95s to 0.55s what is almost 23x
faster. (used release LLD).
Differential revision: https://reviews.llvm.org/D38129
llvm-svn: 314282
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions