[llvm] [llvm] Propagate dso_local for jump table aliases (PR #217101)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 19 08:55:15 PDT 2026


ilovepi wrote:

> > LGTM. I'm wondering if there's a more general way to solve this problem. I dont' think that needs to block the fix right now, but if we have an idea of the solution, maybe a TODO comment would be useful?
> 
> `GlobalValue::copyAttributesFrom` might be the more general way but it copies a lot more than visibility + dso_local-ness so I'll need to see if everything else it copies is what we want. Probably in a followup patch.

Addressing in a follow up sounds fine to me.

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


More information about the llvm-commits mailing list