[ELF] - Report valid binary filename when reporting error.
authorGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Feb 2018 09:47:24 +0000 (09:47 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Mon, 5 Feb 2018 09:47:24 +0000 (09:47 +0000)
commitf9dc10cd8913a3ada2575599b8fade748bad2598
tree7de7be9ae6a159d686f2f8ee1d498bc6f330541e
parent276b32bb14eb1a7413af7b73bc0805799c67c75e
[ELF] - Report valid binary filename when reporting error.

We did not report valid filename for duplicate symbol error when
symbol came from binary input file.
Patch fixes it.

Differential revision: https://reviews.llvm.org/D42635

llvm-svn: 324217
lld/ELF/InputFiles.cpp
lld/ELF/InputFiles.h
lld/test/ELF/duplicated-synthetic-sym.s