llvm-project
1de9bc1a - [lld][MachO] Respect dylibs linked with `-allowable_client` (#114638)

Commit
350 days ago
[lld][MachO] Respect dylibs linked with `-allowable_client` (#114638) ld64.lld would previously allow you to link against dylibs linked with `-allowable_client`, even if the client's name does not match any allowed client. This change fixes that. See #114146 for related discussion. The test binary `liballowable_client.dylib` was created on macOS with: echo | clang -xc - -dynamiclib -mmacosx-version-min=10.11 -arch x86_64 -Wl,-allowable_client,allowed -o lib/liballowable_client.dylib
Author
Parents
Loading