[PATCH] D85540: [llvm-libtool-darwin] Add support for -l and -L

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 00:17:39 PDT 2020


jhenderson added inline comments.


================
Comment at: llvm/test/tools/llvm-libtool-darwin/L-and-l.test:95-98
+## Check that an error is thrown when the input library cannot be found
+## (for a file prepended with 'lib' and appended with '.a'):
+# RUN: not llvm-libtool-darwin -static -o %t.lib -lfile-will-not-exist 2>&1 | \
+# RUN:   FileCheck %s --check-prefix=NOT-FOUND -DFILE=libfile-will-not-exist.a
----------------
One more test for this area: a file called something like `file`, and show that `-lfile` doesn't find it (since `lib` and `.a` are added). Relatedly, maybe also show that `-llibfile.a` looks for `liblibfile.a` not `libfile.a`?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D85540



More information about the llvm-commits mailing list