Despite emitting an error the return code is 0 if we can not write to the output file.
https://reviews.llvm.org/D38283 meant that we are now hitting this case.
Differential D38401
[ELF] Fix incorrect exit status bug exposed by D38283 bd1976llvm on Sep 29 2017, 5:53 AM. Authored by
Details
Despite emitting an error the return code is 0 if we can not write to the output file. https://reviews.llvm.org/D38283 meant that we are now hitting this case.
Diff Detail Event TimelineComment Actions LGTM
|
error indeed increments ErrorCount, but the code seems to be unnecessarily indirect. I think I prefer