linker: fail the compilation if there were linker errors

There was no check for linker errors after flushing,
which meant that if the link failed the build would
continue and try to copy the non-existant exe, and
also write the manifest as if it had succeeded.

Also adds parsing of lld output, which is surfaced at the
end of the compilation with the other errors instead
of via stderr
90fedf24fcCasey Banner committed on 1/9/2023, 9:29:59 PM· committed by Andrew Kelleyparenta5bcdfd
4 files changedLine totals unavailable