DavidSpickett wrote: This is unrelated to that since this fixes a Linux specific code path. The failing tests are all NetBSD cores and I confirmed we're not calling the Linux code accidentally there. https://github.com/llvm/llvm-project/pull/159375