Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][Pass] Register a signal handler when generating crash reproduc…
…ers. The current implementation uses CrashRecoveryContext, but this only supports recovering in a certain number of cases. This revision adds a signal handler to support even more situations. This revision was able to properly generate a reproducer for a segfault in the Inliner, that the current recovery couldn't. Differential Revision: https://reviews.llvm.org/D78315
- Loading branch information
Showing
1 changed file
with
116 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters