[PATCH] D48688: Consistently bail out if we fail to parse command line args

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 28 10:04:50 PDT 2018


sbc100 added a comment.

I just noticed that the two linkers were inconsistent.

With wasm I was seening "unknown arg XXX" and then also always the "no input file". The ELF linker seems to sneekly get around this by only shown "no input files" in no other errors have been seen.   But I don't think we should even be calling  createFiles in the case that there is an incorrect command line flag.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D48688





More information about the llvm-commits mailing list