Handle writeImportLibrary failing.
authorRafael Espindola <rafael.espindola@gmail.com>
Wed, 5 Aug 2015 20:03:57 +0000 (20:03 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Wed, 5 Aug 2015 20:03:57 +0000 (20:03 +0000)
commit4280a96468b00f8afb097b8fef737a4b5454b5e4
tree1a2df2823e09ea01c2f637efc60a37b84f0d35e0
parent23280472c363314fef03720a11fd9537cf4c4c54
Handle writeImportLibrary failing.

We were printing an error but exiting with 0.

Not sure how to test this. We could add a no-winlib feature,
but that is probably not worth it.

llvm-svn: 244109
lld/COFF/Driver.cpp
lld/test/COFF/export.test
lld/test/COFF/export32.test