[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
Thu Jun 15 02:05:11 PDT 2017


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

> The code still has
>  TS = make<ThunkSection>(TOS, IS->OutSecOff);
>  so now we create an extra thunk, no?

Yes you are right. My apologies for not catching that earlier. I've updated the diff to remove it.


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.102644.patch
Type: text/x-patch
Size: 5399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170615/f61323b5/attachment.bin>


More information about the llvm-commits mailing list