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

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 10 02:40:36 PDT 2019


mstorsjo accepted this revision.
mstorsjo added a comment.
This revision is now accepted and ready to land.

LGTM



================
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
----------------
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.


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