[PATCH] D68768: Use error instead of fatal to report usage errors

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 02:49:52 PDT 2019


ruiu marked an inline comment as done.
ruiu added inline comments.


================
Comment at: lld/test/MinGW/driver.test:229
+RUN: not ld.lld -m i386pep -lno-such-library 2>&1 | FileCheck -check-prefix MISSING_LIB %s
+MISSING_LIB: error: unable to find library -lno-such-library
----------------
mstorsjo wrote:
> There's a separate test file, `lib.test`, with tests that overlaps this one (`-l` failures), but I guess it doesn't hurt  to have this option tested in both.
Thank you for pointing that out. I didn't notice that. I'll remove this test from here because it seems just redundant.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D68768/new/

https://reviews.llvm.org/D68768





More information about the llvm-commits mailing list