summaryrefslogtreecommitdiff
path: root/utils/creduce-clang-crash.py
Commit message (Collapse)AuthorAgeFilesLines
* Make clang/utils/creduce-clang-crash.py executableReid Kleckner2019-05-011-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359722 91177308-0d34-0410-b5e6-96231b3b80d8
* creduce-clang-crash: add -F flag to grep to avoid interpreting string as regexAmy Huang2019-04-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359216 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixes in creduce-clang-crash.py for clang crash message parsing and reading ↵Amy Huang2019-04-241-4/+9
| | | | | | the command from the repro script. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359054 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove --show-includes flag in crash reduce scriptAmy Huang2019-04-171-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@358590 91177308-0d34-0410-b5e6-96231b3b80d8
* Various fixes and additions to creduce-clang-crash.pyGeorge Burgess IV2019-03-291-171/+334
| | | | | | | | | | | | | | | | | Some more additions to the script - mainly reducing the clang args after the creduce run by removing them one by one and seeing if the crash reproduces. Other things: - remove the --crash flag when "fatal error" occurs - fixed to read stack trace functions from the top - run creduce on a copy of the original file Patch by Amy Huang! Differential Revision: https://reviews.llvm.org/D59725 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@357290 91177308-0d34-0410-b5e6-96231b3b80d8
* creduce-clang-crash.py: preprocess file + reduce commandlineGeorge Burgess IV2019-03-211-72/+194
| | | | | | | | | | | | | | | | | | | 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
* Add a creduce script for clang crashesGeorge Burgess IV2019-03-121-0/+118
This CL adds a script that calls C-Reduce on an input file and given the clang crash script, which is used to generate an interestingness test for C-Reduce. Patch by Amy Huang! Differential Revision: https://reviews.llvm.org/D59118 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@355944 91177308-0d34-0410-b5e6-96231b3b80d8