[PATCH] D51089: [LLD] [COFF] [RFC] Add support for creating range extension thunks for ARM
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 27 04:33:23 PDT 2018
mstorsjo updated this revision to Diff 162652.
mstorsjo added a comment.
Updated taking @ruiu and @peter.smith's feedback into account. I still haven't added more tests though, so that's still a clear todo, but reposting for more potential feedback meanwhile.
I updated the code to keep the thunk maps between passes, which leads to much fewer additions in later passes (originally I could occasionally hit up to 8 passes before things were done, now it gets done in 3 passes), and fixed code to avoid chaining thunks in case the originally chosen thunk went out of range.
https://reviews.llvm.org/D51089
Files:
COFF/Chunks.cpp
COFF/Chunks.h
COFF/PDB.cpp
COFF/Writer.cpp
COFF/Writer.h
test/COFF/arm-thumb-branch-error.s
test/COFF/arm-thumb-branch-thunk.s
test/COFF/arm-thumb-branch20-error.s
test/COFF/arm-thumb-branch20-thunk.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D51089.162652.patch
Type: text/x-patch
Size: 17704 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180827/735762be/attachment.bin>
More information about the llvm-commits
mailing list