nikic wrote: I added a test that fails before the change and passes after. It's not quite representative of what happens in Rust (which does not use linkonce_odr), but demonstrates the general issue at least. https://github.com/llvm/llvm-project/pull/210025