Avoid writing to errs().
authorRui Ueyama <ruiu@google.com>
Fri, 15 Jul 2016 02:51:05 +0000 (02:51 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 15 Jul 2016 02:51:05 +0000 (02:51 +0000)
commit112351dc38027f16b6cd5b55bfc41c585324ce01
treeca86f33aa7bc0a25bb62b4cf9cb127552ac57e9e
parenta9d9eda0ceeb9eceec07989e2dafa0c3a5388395
Avoid writing to errs().

We should write to ErrorOS instead. Normaly, *ErrorOS == errs(),
but they can be different if LLD is embedded.

llvm-svn: 275525
lld/ELF/Error.cpp