Include ARGV[0] in error messages.
authorRui Ueyama <ruiu@google.com>
Wed, 19 Oct 2016 20:05:43 +0000 (20:05 +0000)
committerRui Ueyama <ruiu@google.com>
Wed, 19 Oct 2016 20:05:43 +0000 (20:05 +0000)
commit22646a80f4c15329bc8b5ef5e30fc46317f4cf1f
tree4b79c7cf3f814d4a97998754203d873ce8df604e
parentf8d1d12fef56d99542ea1766812b2cfe45583c0c
Include ARGV[0] in error messages.

This is what other linkers and clang driver do.

Differential Revision: https://reviews.llvm.org/D25780

llvm-svn: 284634
lld/ELF/Driver.cpp
lld/ELF/Error.cpp
lld/ELF/Error.h
lld/test/ELF/basic.s
lld/test/ELF/copy-rel-corrupted.s
lld/test/ELF/entry.s
lld/test/ELF/linkerscript/diagnostic.s