[PATCH] D25240: [ELF] Emit warning instead of error, when undefined symbol is not really used.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 4 09:32:53 PDT 2016


Yeah, that's what I mean.

On Tue, Oct 4, 2016 at 9:31 AM, Eugene Leviant <evgeny.leviant at gmail.com>
wrote:

> 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
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161004/4df68694/attachment.html>


More information about the llvm-commits mailing list