[PATCH] D86657: Add new hidden option -print-on-crash that prints out IR that caused opt pipeline to crash

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 05:44:41 PST 2022


fhahn added a comment.
Herald added a project: All.

I saw the patch got reverted a while ago. Are there any plans for re-submitting the change?

This would be very valuable to have in combination with an option to print the whole module before the crashing pass to a a file or the function causing the crash extracted from the whole module, so there's a reproducer file that can be used easily.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86657/new/

https://reviews.llvm.org/D86657



More information about the llvm-commits mailing list