https://github.com/nikic approved this pull request. LGTM, it would be nice to add a comment to the test to explain what it's guarding against, as it's not super obvious here (looking at the issue, it's a crash). https://github.com/llvm/llvm-project/pull/116631