[lld] r248382 - Print more information about undefined symbols.

Sean Silva via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 18:58:07 PDT 2015


On Thu, Sep 24, 2015 at 6:04 AM, Rafael EspĂ­ndola <
rafael.espindola at gmail.com> wrote:

> >> +  if (SymFile)
> >> +    error(Twine("undefined symbol: ") + Sym.getName() + " in " +
> >> +          SymFile->getName());
> >> +  else
> >> +    error(Twine("undefined symbol: ") + Sym.getName());
> >
> >
> > Under what conditions can we get to here? Internal linker generated
> symbols?
>
> Correct, and we have a test for it (test/elf2/undef-start.s) :-)
>

Nice!


>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150924/d3eea42c/attachment.html>


More information about the llvm-commits mailing list