[llvm] [llvm-lit] Ignore malformed `.lit_test_times` entries (PR #191305)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 9 16:16:54 PDT 2026


https://github.com/boomanaiden154 requested changes to this pull request.

> Agreed. An alternative might be just to print out the name of the corrupted file, with a message suggesting it should be removed. This would be much better than a Python stack trace, which gives no clue as to why llvm-lit is failing. (Thankfully, ChatGPT clued me in, and once I found the broken file, I could run my tests again).

That would work. We could also just reraise a custom exception that prints out all the relevant information.

https://github.com/llvm/llvm-project/pull/191305


More information about the llvm-commits mailing list