[cfe-dev] A tool for generating reduced headers for test cases (delta debugging)

Devang Patel dpatel at apple.com
Wed Jul 9 11:32:22 PDT 2008


On Jul 9, 2008, at 1:49 AM, Nikita Zhuk wrote:

> Hi,
>
> Several clang analysis test cases written in ObjC contain the
> following comment line in their header: "These declarations were
> reduced using Delta-Debugging from Foundation.h on Mac OS X.". Are
> there some instructions about tools which should be used to generate
> such reduced headers? Being able to do so would make it possible to
> report bugs by using runnable test cases, and those test cases could
> be eventually included with the clang itself.


Here is a small guide to use delta to reduce test cases. The guide is  
GCC specific but you can use it to understand how to use delta to  
reduce clang test cases.

http://gcc.gnu.org/wiki/A_guide_to_testcase_reduction

-
Devang






More information about the cfe-dev mailing list