This is an archive of the discontinued LLVM Phabricator instance.

[WebAssembly] Update InstPrinter and AsmParser for new EH instructions
ClosedPublic

Authored by aheejin on Jan 4 2021, 3:57 PM.

Details

Summary

This updates InstPrinter and AsmParser for delegate and catch_all
instructions. Both will reject programs with multiple catch_alls per a
single try. And InstPrinter uses EHInstStack to figure out whether
to print catch label comments: It does not print catch label comments
for second catch or catch_all in a try.

Diff Detail

Event Timeline

aheejin created this revision.Jan 4 2021, 3:57 PM
aheejin requested review of this revision.Jan 4 2021, 3:57 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 4 2021, 3:57 PM
aardappel accepted this revision.Jan 5 2021, 10:08 AM
This revision is now accepted and ready to land.Jan 5 2021, 10:08 AM