ELF: Do not exit if it cannot open an output file.
authorRui Ueyama <ruiu@google.com>
Tue, 2 Feb 2016 22:48:04 +0000 (22:48 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 2 Feb 2016 22:48:04 +0000 (22:48 +0000)
commitcbe392629b55999f2bd37e10048b0e00630a9d0d
tree8ba76719c03247e2c4a4e20d1835cda8ce4e0341
parente1100f533f0a48f55e80e1152b06f5deab5f9b30
ELF: Do not exit if it cannot open an output file.

It can fail to open an output file for various reasons, including
lack of permission, too long filename, or the output file is not
a mmap'able file.

llvm-svn: 259596
lld/ELF/Writer.cpp
lld/test/ELF/driver.test