Commit Graph

7 Commits

Author SHA1 Message Date
Michael Gottesman
ab3db3e37a [bug-reducer] Disable test for now until I have time to look at this. 2019-08-13 14:17:42 -07:00
Michael Gottesman
b77a47ed83 [bug_reducer] Update/fix for mangling/bitrot.
rdar://31044019
2018-06-03 18:50:35 -07:00
Michael Gottesman
96a087ecdc Update requires line in bug-reducer.test-sh to work around master-next not liking rdar:// in requires lines. 2017-03-16 14:55:23 -07:00
Erik Eckstein
2a55b26e46 Mangling: enable new mangling for symbols 2017-03-16 12:04:08 -07:00
Michael Gottesman
efb1ea4701 [bug-reducer] Disable bug reducer when the CMAKE_GENERATOR used is not Ninja.
The bug reducer makes assumptions about the layout of the swift build directory
that may not be true in non-Ninja builds. Two examples of cmake generators that
would cause problems are VisualStudio and Xcode. I do not have time right now to
add such support, hence the disabling of the test.

rdar://30311943
2017-02-01 12:54:37 -08:00
Michael Gottesman
cddc50a5e8 [sil-bug-reducer] Only test the bug reducer when asserts are enabled.
Quick fix to unbreak bots.
2016-12-14 09:48:53 -08:00
Michael Gottesman
b7a79756db [sil-bug-reducer] Initial version of bug_reducer.
Currently it supports random bug finding and opt pipeline reduction. At some
point in the future it will support:

1. Reducing of optimizer crasher test cases.
2. Reducing optimizer miscompile test cases.

But those are for another time, this is just a first step. Patches welcome = ).
Check out llvm's bugpoint for inspiration.

It also has a basic test of pass pipeline reduction that is triggered via the
validation testing in lit. One thing to note here is that the tool right now
assumes darwin. This can be fixed in the future.
2016-12-12 23:30:51 -08:00