[PATCH] D86657: Add new hidden option -print-crash-IR that prints out IR that caused opt pipeline to crash
Arthur Eubanks via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 26 22:20:37 PDT 2020
aeubanks added a comment.
Ok I guess this makes sense over --print-before-all.
To bikeshed a bit, maybe the option should be named --print-on-crash? For example --print-before-all does not contain "IR" in the name.
It would be nice to include a test. Maybe creating a new pass that crashes upon running could be useful.
Looks like the latest diff on Phab is against the first revision, could that be fixed?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86657/new/
https://reviews.llvm.org/D86657
More information about the llvm-commits
mailing list