[PATCH] D115092: [lld-macho] Unreferenced weak dylib symbols shouldn't fetch archive symbols

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 14:06:16 PST 2022


int3 added a comment.
Herald added a project: All.

> Non-weak-dylib looks a bit odd as it is not commutative.

Non-weak-dylib has the same precedence as archive symbols, so yeah, it's not commutative. This is what ld64 does too.

It took me a while to find the test that covered this case, so I put up D120938: [lld-macho][nfc] Rename some tests for consistency <https://reviews.llvm.org/D120938>


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D115092



More information about the llvm-commits mailing list