[PATCH] D34688: [LLD][ELF] Add call to assignAddresses() before createThunks() [NFC]
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 7 03:04:03 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL307373: [ELF] Add call to assignAddresses() before createThunks() [NFC] (authored by psmith).
Changed prior to commit:
https://reviews.llvm.org/D34688?vs=104163&id=105607#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34688
Files:
lld/trunk/ELF/Writer.cpp
Index: lld/trunk/ELF/Writer.cpp
===================================================================
--- lld/trunk/ELF/Writer.cpp
+++ lld/trunk/ELF/Writer.cpp
@@ -1307,6 +1307,7 @@
// are out of range. This will need to turn into a loop that converges
// when no more Thunks are added
ThunkCreator TC;
+ Script->assignAddresses();
if (TC.createThunks(OutputSectionCommands)) {
applySynthetic({InX::MipsGot},
[](SyntheticSection *SS) { SS->updateAllocSize(); });
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34688.105607.patch
Type: text/x-patch
Size: 513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170707/b857adb2/attachment.bin>
More information about the llvm-commits
mailing list