https://github.com/balazske approved this pull request. I think we can put in this change. I tested it on some projects, the number of crashes got less after this change (it is possible that new ones appeared but the total count was less). https://github.com/llvm/llvm-project/pull/138838