This is an archive of the discontinued LLVM Phabricator instance.

Fix crash in the pass pipeline when local reproducer is enabled
ClosedPublic

Authored by mehdi_amini on Sep 20 2020, 11:45 PM.

Details

Summary

This crash only happens when a function pass is followed by a module
pass. In this case the splitting of the pass pipeline didn't handle
properly the verifier passes and ended up with an odd number of pass in
the pipeline, breaking an assumption of the local crash reproducer
executor and hitting an assertion.

Diff Detail

Event Timeline

mehdi_amini created this revision.Sep 20 2020, 11:45 PM
Herald added a project: Restricted Project. · View Herald TranscriptSep 20 2020, 11:45 PM
mehdi_amini requested review of this revision.Sep 20 2020, 11:45 PM
ftynse accepted this revision.Sep 21 2020, 1:14 AM
This revision is now accepted and ready to land.Sep 21 2020, 1:14 AM