https://github.com/bulbazord commented: Hmm, yeah testing this is probably tricky to do. Nonetheless, I think your cleanup logic makes sense. It's also nice that you've documented the intended behavior. 😄 https://github.com/llvm/llvm-project/pull/78652