Handle Archive::children's error proerly.
authorRui Ueyama <ruiu@google.com>
Fri, 11 Nov 2016 02:09:28 +0000 (02:09 +0000)
committerRui Ueyama <ruiu@google.com>
Fri, 11 Nov 2016 02:09:28 +0000 (02:09 +0000)
commit049e045c3a2c168ba2f8287141ddf39a671a8554
tree41a9da65fc8350b4604bcc3808353e5de0a1f385
parent432f3ef88738077c1136ef9b4f6c62aa90587b92
Handle Archive::children's error proerly.

The previous code didn't make sense at all. Now an error condition
is handled with fatal(). Thanks to Mehdi for pointing out the issue.

llvm-svn: 286547
lld/ELF/Driver.cpp