[llvm] [MachO] Preserve weak linkage for aliases (PR #198148)

Folkert de Vries via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 06:50:02 PDT 2026


folkertdev wrote:

> Might be good to add a Clang test? To cover https://github.com/llvm/llvm-project/issues/111321 end-to-end

Clang does not really test end-to-end, but we could test the clang to LLVM IR too. (@syhhyl can you add that as a separate PR and link it here?)

---

The original commit specifically does say that weak aliases are supported, see https://github.com/llvm/llvm-project/commit/0017c5fa92ad:

> only weak aliases are supported on darwin

>From reading the comments that is not disputed, and it demonstrably does work in practice.



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


More information about the llvm-commits mailing list