HomePhabricator

Merging r369445: --------------------------------------------------------------…

Authored by hansw on Aug 23 2019, 5:56 AM.

Description

Merging r369445: ------------------------------------------------------------------------ r369445 | mstorsjo | 2019-08-20 23:08:14 +0200 (Tue, 20 Aug 2019) | 9 lines

[COFF] Check errorCount before committing the output file

This avoids producing an output file if errors appeared late in the
linking process (e.g. while fixing relocations, or as in the test,
while checking for multiple resources). If an output file is produced,
build tools might not retry building it on rebuilds, even if a previous
build failed due to the error return code.

Differential Revision: https://reviews.llvm.org/D66491

llvm-svn: 369752

Details

Committed
hanswAug 23 2019, 5:56 AM
Differential Revision
D66491: [COFF] Check errorCount before committing the output file
Parents
rG884e989454d4: Add Mull project to the release notes
Branches
Unknown
Tags
Unknown