Some updates/fixes to the creduce script.
authorAmy Huang <akhuang@google.com>
Wed, 7 Aug 2019 23:38:58 +0000 (16:38 -0700)
committerAmy Huang <akhuang@google.com>
Thu, 12 Nov 2020 21:40:26 +0000 (13:40 -0800)
commit0c80b542d38b4819809c600e71a6997a9b4e4294
tree5584854f33f7ca725d0c439e442c26259a316698
parentcf6565f6d03d6dd1a8ed9d0096d365690cc26c11
Some updates/fixes to the creduce script.

This was motivated by changes to llvm's `not --crash` disabling symbolization
but I ended up removing `not` from the script entirely because it
returns differently depending on  whether clang "crashes" or exits for some
other reason. The script had to choose between calling `not` and `not --crash`
and sometimes it was wrong.

The script also now disables symbolization when we don't read the stack
trace because symbolizing is kind of slow.

Differential Revision: https://reviews.llvm.org/D91372
clang/utils/creduce-clang-crash.py