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.
Paths
| Differential D76960
[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
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: llvm-commits, dexonsmith, steven_wu and 5 others. · View Herald Transcript This revision is now accepted and ready to land.Mar 31 2020, 8:59 PM Closed by commit rGb5767010a8ea: [lld][WebAssembly] Early error if output file cannot be created. (authored by sbc100). · Explain WhyMar 31 2020, 10:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 253256 lld/test/wasm/early-exit-for-bad-paths.s
lld/test/wasm/lto/opt-level.ll
lld/test/wasm/responsefile.test
lld/wasm/Driver.cpp
|