[llvm-reduce] make llvm-reduce save the best reduction it has when it crashes
authorTyker <tyker1@outlook.com>
Sat, 22 Aug 2020 17:04:20 +0000 (19:04 +0200)
committerTyker <tyker1@outlook.com>
Sat, 22 Aug 2020 17:16:43 +0000 (19:16 +0200)
commit7fef40d83cbb1be376f58b5763cf362e517b5e8d
treebe598217c9b175fa99b18a42e3ea6f43cf201d35
parent2aaa5a546ea016b8e2092ced1bd7147db51d483a
[llvm-reduce] make llvm-reduce save the best reduction it has when it crashes

This helps with both debugging llvm-reduce and sometimes getting usefull result even if llvm-reduce crashes

Reviewed By: lebedev.ri

Differential Revision: https://reviews.llvm.org/D85996
llvm/tools/llvm-reduce/deltas/Delta.cpp
llvm/tools/llvm-reduce/llvm-reduce.cpp