[PATCH] D47602: Correct aligment computation for shared object symbols
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 6 13:56:39 PDT 2018
ruiu accepted this revision.
ruiu added a comment.
LGTM
================
Comment at: ELF/Relocations.cpp:532
+ if (SymSize == 0 || SS.Alignment == 0)
fatal("cannot create a copy relocation for symbol " + toString(SS));
----------------
If this code is reachable by giving a (even contrived) object file, it should've been error() instead of fatal(), but you don't need to fix that since that's not new code. I'll address that in a follow-up patch.
https://reviews.llvm.org/D47602
More information about the llvm-commits
mailing list