Closed
Description
Related to #51971.
If a fatal error occurs in LLVM, the compiler exits with status 1. This is problematic, because if a test is expecting a compilation failure, the test could still pass. It also makes it difficult to test for the presence of ICEs in general.
A simple fix would be to patch our copy of LLVM to exit with 101 (like ICEs) in report_fatal_error
, but any other ideas would be appreciated.