This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Handle empty cleanuppads when adding catch_all
ClosedPublic

Authored by aheejin on Mar 1 2021, 5:35 AM.

Details

Summary

In LateEHPrepare::addCatchAlls, the current code tries to get the
iterator's debug info even when it is MachineBasicBlock::end(). This
fixes the bug by adding empty debug info instead in that case.

Diff Detail

Event Timeline

aheejin created this revision.Mar 1 2021, 5:35 AM
aheejin requested review of this revision.Mar 1 2021, 5:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 1 2021, 5:35 AM
tlively accepted this revision.Mar 1 2021, 9:32 AM
This revision is now accepted and ready to land.Mar 1 2021, 9:32 AM
This revision was landed with ongoing or failed builds.Mar 1 2021, 10:07 AM
This revision was automatically updated to reflect the committed changes.