[PATCH] D34034: [LLD][ELF] Make createThunks() iterate until no more thunks added

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 03:07:00 PDT 2017


peter.smith updated this revision to Diff 102009.
peter.smith added a comment.

Thanks for the comments. When range extension thunks are introduced we can no longer guarantee that only 2 passes will be needed so the limit will need to be raised. With the current supported thunks they will all be generated in the first pass, the second pass will find no more thunks. I've added a comment to make that explicit, and have added a comment to Passes as suggested.


https://reviews.llvm.org/D34034

Files:
  ELF/Relocations.cpp
  ELF/Relocations.h
  ELF/Writer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34034.102009.patch
Type: text/x-patch
Size: 6039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170609/1fc753a5/attachment.bin>


More information about the llvm-commits mailing list