[PATCH] D51089: [LLD] [COFF] Add support for creating range extension thunks for ARM
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 29 04:00:20 PDT 2018
mstorsjo updated this revision to Diff 163043.
mstorsjo added a comment.
Split out readRelocTargets() to a separate method, which is called in parallel. This reduced the performance drop quite a bit, now the difference is much smaller. In this test round, the fastest run for the original version was 395 ms, after this patch the fastest run was 401 ms. So in this case, the slowdown is around 2% which hopefully is more acceptable.
https://reviews.llvm.org/D51089
Files:
COFF/Chunks.cpp
COFF/Chunks.h
COFF/PDB.cpp
COFF/Writer.cpp
COFF/Writer.h
test/COFF/Inputs/far-arm-thumb-abs.s
test/COFF/Inputs/far-arm-thumb-abs20.s
test/COFF/arm-thumb-branch-error.s
test/COFF/arm-thumb-branch20-error.s
test/COFF/arm-thumb-thunks.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51089.163043.patch
Type: text/x-patch
Size: 20785 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180829/77bc65e5/attachment.bin>
More information about the llvm-commits
mailing list