[PATCH] D25433: [ELF] Don't crash if relocation target section is discarded
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 11 04:12:25 PDT 2016
evgeny777 added inline comments.
================
Comment at: ELF/Symbols.cpp:57
+ if (!SC->Live) {
+ warn("relocation refers to discarded section");
+ return D.Value;
----------------
ruiu wrote:
> Please include a filename and symbol name in the error message.
symbol name is typically nothing more than '.section + addend'.
Repository:
rL LLVM
https://reviews.llvm.org/D25433
More information about the llvm-commits
mailing list