Hi Konstantin, Thanks, these are good, I'll try to do them soon.
C-Reduce actually used to have more fine-grained support for controlling passes but when I changed passes to be in modules I stripped out that code (and a lot of other crap) just to make things simple. But this should be added back in.
John On 06/22/2012 02:48 AM, Konstantin Tokarev wrote:
Hi all, I have 2 ideas for C-Reduce: 1. Add --skip-passes=pass1,pass2,... flag to creduce. It's can be useful is some pass behaves incorrectly on given test case (like I've reported for remove-nested-function recently) or when e.g. code is too heavily templated and line-based passes seem to be ineffective 2. Add option or separate script for reduction of clang_delta crashes. This script should parse out // clang_delta comment from crash report, construct simple predicate catching clang_delta crash, and reduce, skiping failing pass in reduction process (see #1). I think it would be very useful for reporting crashes in clang_delta (I encounter a lot of them).
