This is an archive of the discontinued LLVM Phabricator instance.

[lld][WebAssembly] Early error if output file cannot be created.
ClosedPublic

Authored by sbc100 on Mar 27 2020, 5:08 PM.

Details

Summary

This matches the behaviour of the ELF driver.

Also move the createFiles to be checkConfig and report `no input
files` there. Again this is mostly to match the structure of the ELF
linker better.

Diff Detail

Event Timeline

sbc100 created this revision.Mar 27 2020, 5:08 PM
sbc100 added a reviewer: ruiu.Mar 27 2020, 5:09 PM
ruiu accepted this revision.Mar 31 2020, 8:59 PM

LGTM

This revision is now accepted and ready to land.Mar 31 2020, 8:59 PM
This revision was automatically updated to reflect the committed changes.