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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 24 06:04:43 PDT 2015


>> +  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) :-)

Cheers,
Rafael


More information about the llvm-commits mailing list