[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [creduce-dev] [RFC] Adding passes for reducing clang crash reports



Amy Huang <akhuang@google.com> writes:

> Currently CReduce removes the includes one by one at the beginning, and most
> of the other stuff in the lines pass, which is time consuming especially as
> they don't get collapsed by topformflat. Basically what we want to do is have
> some sort of pass to remove/simplify the line markers, macros, and ifs at the
> beginning. Maybe it could be added as an additional pass, or maybe as a sort
> of clang preprocessor step?
> Any thoughts or suggestions?

Would the `unifdef` tool, distributed with C-Reduce, be helpful here?

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX