[PATCH] D25240: [ELF] Emit warning instead of error, when undefined symbol is not really used.
Eugene Leviant via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 4 09:31:36 PDT 2016
evgeny777 added inline comments.
> ruiu wrote in Relocations.cpp:560
> If Body is an undefined symbol we want to warn/error here, no? Then undefined and unreferenced symbols will be ignored completely.
Do you want to call reportUndefined() here like this:
if (Body.isUndefined())
reportUndefined(&Body);
I'll check if this works.
Repository:
rL LLVM
https://reviews.llvm.org/D25240
More information about the llvm-commits
mailing list