diff options
author | River Riddle <riddleriver@gmail.com> | 2020-04-29 15:08:25 -0700 |
---|---|---|
committer | River Riddle <riddleriver@gmail.com> | 2020-04-29 15:23:10 -0700 |
commit | e62ff42f79e5b59e3d1331ab9988528aae031a48 (patch) | |
tree | d74cba53d54d7466d37595c063d1072d93e36012 /llvm/lib/CodeGen/MachineOutliner.cpp | |
parent | 983382f134a83f51b4614ab4544ed093bcb52f5e (diff) | |
download | llvm-e62ff42f79e5b59e3d1331ab9988528aae031a48.zip llvm-e62ff42f79e5b59e3d1331ab9988528aae031a48.tar.gz llvm-e62ff42f79e5b59e3d1331ab9988528aae031a48.tar.bz2 |
[mlir][Pass] Register a signal handler when generating crash reproducers.
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
Diffstat (limited to 'llvm/lib/CodeGen/MachineOutliner.cpp')
0 files changed, 0 insertions, 0 deletions