[PATCH] D76960: [lld][WebAssembly] Early error if output file cannot be created.

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 27 17:39:48 PDT 2020


sbc100 created this revision.
Herald added subscribers: llvm-commits, dexonsmith, steven_wu, sunfish, aheejin, hiraditya, jgravelle-google, dschuff.
Herald added a project: LLVM.
sbc100 added a reviewer: ruiu.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D76960

Files:
  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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76960.253256.patch
Type: text/x-patch
Size: 4166 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200328/bc400811/attachment.bin>


More information about the llvm-commits mailing list