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.
Details
Details
- Reviewers
ruiu rnk thakis - Commits
- rG2ae73f11631a: Merging r369445: --------------------------------------------------------------…
rL369752: Merging r369445:
rG35f9a84a15d1: [ELF] More dynamic relocation packing
rLLD369488: [ELF] More dynamic relocation packing
rL369488: [ELF] More dynamic relocation packing
rG08a5a0aa252a: [COFF] Check errorCount before committing the output file
rL369445: [COFF] Check errorCount before committing the output file
rLLD369445: [COFF] Check errorCount before committing the output file
Diff Detail
Diff Detail
Event Timeline
Comment Actions
https://llvm.org/viewvc/llvm-project?view=revision&revision=369752 merged this to 9.0, since the dupe res obj file detection is new in 9.0.