michaelrj-google wrote: Defining `operator new` doesn't fix the issue. I think @jhuber6 is right that death tests can't work in hermetic tests. I'll update this patch to reflect that. https://github.com/llvm/llvm-project/pull/77388