[PATCH] D29282: [ELF] - Report filename for unknown relocation error.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 31 01:13:15 PST 2017
> What would the output look like if the elf was in an archive?
According to toString() code:
// Returns "(internal)", "foo.a(bar.o)" or "baz.o".
std::string lld::toString(const InputFile *F) {
if (!F)
return "(internal)";
if (!F->ArchiveName.empty())
return (F->ArchiveName + "(" + F->getName() + ")").str();
return F->getName();
}
It should be:
foo.a(bar.o): unknown relocation type: Unknown (152)
George.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170131/5987874b/attachment.html>
More information about the llvm-commits
mailing list