[lld] [lld][MachO] Respect dylibs linked with `-allowable_client` (PR #114638)

Carlo Cabrera via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 19 07:46:29 PST 2024


================
@@ -0,0 +1,15 @@
+# REQUIRES: x86
+# RUN: llvm-mc -filetype=obj -triple=x86_64-apple-darwin %s -o %t.o
+# RUN: not %lld -o %t %t.o -L%S/Inputs -lallowable_client 2>&1 | FileCheck %s --check-prefix=NOTALLOWED1
+# RUN: not %lld -o %t %t.o -L%S/Inputs -lallowable_client -client_name notallowed 2>&1 | FileCheck %s --check-prefix=NOTALLOWED2
+# RUN: %lld -o %t %t.o -L%S/Inputs -lallowable_client -client_name allowed
+# RUN: %lld -o %t %t.o -L%S/Inputs -lallowable_client -client_name all
----------------
carlocab wrote:

Yes, there are a few tests for the case where `-client_name` is omitted, both for cases where the client is allowed and not allowed.

https://github.com/llvm/llvm-project/pull/114638


More information about the llvm-commits mailing list