[PATCH] D25279: [ELF] - Do not crash on large output.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 6 09:39:37 PDT 2016
grimar added a comment.
I`ll try to update this tomorrow. Found that VA also may overflow in next assignAddresses():
template <class ELFT> void Writer<ELFT>::assignAddresses() {
uintX_t VA = Config->ImageBase + getHeaderSize<ELFT>();
...
And VA affects on how we do calculate offsets.
https://reviews.llvm.org/D25279
More information about the llvm-commits
mailing list