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

Sameer Arora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 06:54:22 PDT 2020


sameerarora101 marked an inline comment as done.
sameerarora101 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
----------------
jhenderson wrote:
> 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`?
Added now, thanks.


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