rnk wrote: This also needs a test. I booted up my Windows machine to try to better understand what needs to be done, but I had to prioritize other work in the meantime and haven't gotten around to it. https://github.com/llvm/llvm-project/pull/71564