summaryrefslogtreecommitdiffstats
path: root/clang/utils/creduce-clang-crash.py
Commit message (Collapse)AuthorAgeFilesLines
* Handle two corner cases in creduce-clang-crash.pyReid Kleckner2019-12-051-0/+3
| | | | | | | | | | | | | | | | | | Summary: First, call os.path.normpath on the filename argument. I passed in ./foo-asdf.cpp, and this meant that the script failed to find the filename, and bad things happened. Second, call os.path.abspath on binaries. CReduce runs the interestingness test in a temp dir, so relative paths will not work. Reviewers: akhuang Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D71098
* [creduce] Fixed a typo in the error message we're looking for.Artem Belevich2019-11-071-1/+1
|
* Make clang/utils/creduce-clang-crash.py executableReid Kleckner2019-05-011-0/+0
| | | | llvm-svn: 359722
* creduce-clang-crash: add -F flag to grep to avoid interpreting string as regexAmy Huang2019-04-251-1/+1
| | | | llvm-svn: 359216
* 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. llvm-svn: 359054
* Remove --show-includes flag in crash reduce scriptAmy Huang2019-04-171-0/+4
| | | | llvm-svn: 358590
* 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 llvm-svn: 357290
* 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 llvm-svn: 356636
* 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 llvm-svn: 355944
OpenPOWER on IntegriCloud