]> granicus.if.org Git - clang/commit
creduce-clang-crash.py: preprocess file + reduce commandline
authorGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 21 Mar 2019 01:01:53 +0000 (01:01 +0000)
committerGeorge Burgess IV <george.burgess.iv@gmail.com>
Thu, 21 Mar 2019 01:01:53 +0000 (01:01 +0000)
commitd64f72e215118d0c408122a328f3187f089b4919
tree4e57a70f750cf706806fd557e4e2c101e6c5bf07
parentaf056c19ff3a01ed497090b8408eee2ab21010d4
creduce-clang-crash.py: preprocess file + reduce commandline

This CL causes our creduce-clang-crash.py util to:

- try to preprocess the file before reducing
- try to remove some command line arguments
- now require a llvm bin directory, since the generated crash script
  doesn't have an absolute path for clang

It also marks it as executable, since I forgot to do that in the last
commit. :)

Patch by Amy Huang!

Differential Revision: https://reviews.llvm.org/D59440

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356636 91177308-0d34-0410-b5e6-96231b3b80d8
utils/creduce-clang-crash.py