rupprecht wrote: I'm unable to observe this issue with a fully optimized build, hinting that this is some UB conveniently being optimized out in release builds, but sanitizers aren't picking anything up. https://github.com/llvm/llvm-project/pull/112109