[PATCH] D78314: [mlir][Pass] Add support for generating minimal crash reproducers

River Riddle via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 16 11:41:33 PDT 2020


rriddle created this revision.
rriddle added a reviewer: mehdi_amini.
Herald added subscribers: llvm-commits, frgossen, grosul1, Joonsoo, liufengdb, aartbik, lucyrfox, mgester, arpith-jacob, nicolasvasilache, antiagainst, shauheen, burmako, jpienaar.
Herald added a project: LLVM.
rriddle added a child revision: D78315: [mlir][Pass] Register a signal handler when generating crash reproducers..

This revision adds a mode to the crash reproducer generator to attempt to generate a more minimal reproducer. This will attempt to generate a reproducer right before the offending pass that fails. This is useful for the majority of failures that are specific to a single pass, and situations where some passes in the pipeline are not registered with a specific tool.

Depends On D78313 <https://reviews.llvm.org/D78313>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D78314

Files:
  mlir/docs/PassManagement.md
  mlir/include/mlir/Pass/Pass.h
  mlir/include/mlir/Pass/PassManager.h
  mlir/lib/Pass/Pass.cpp
  mlir/lib/Pass/PassManagerOptions.cpp
  mlir/test/Pass/crash-recovery.mlir

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78314.258104.patch
Type: text/x-patch
Size: 19008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200416/f6400779/attachment.bin>


More information about the llvm-commits mailing list