google / graphicsfuzz

A testing framework for automatically finding and simplifying bugs in graphics shader compilers.
Apache License 2.0
562 stars 117 forks source link

Fix LLVM signature recognition #1060

Closed afd closed 4 years ago

afd commented 4 years ago

Recent testing using LLPC shows that the format of fatal errors has changed slightly. This PR relaxes the regex used to recognize fatal errors to tolerate their old form and their new form. The same relaxation is applied for machine code errors to account for the possibility of an analogous formatting change being applied there. Some tests are added related to this.