[clang] [CodeGen] Mark weak vtables unnamed_addr on duplicable-vtable targets (PR #205930)

Chuanqi Xu via cfe-commits cfe-commits at lists.llvm.org
Thu Jul 2 00:42:52 PDT 2026


ChuanqiXu9 wrote:

To be honest, I feel the semantics is odd here. We've already discussed that vtable shouldn't be marked as unnamed_addr. But here it is unnamed_addr again due to different conditions.

The problem here is, vtable or all the  linkage discussed here is not a platfrom specific concept. But we have variants. This is odd. It will be helpful if others would like to chime in @pcc @efriedma-quic 

But as I am not vendor or user of MachO, I am not intended to block this.

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


More information about the cfe-commits mailing list