HomePhabricator

[WebAssembly] Restore __stack_pointer after catch instructions

Description

[WebAssembly] Restore __stack_pointer after catch instructions

Summary:
After the stack is unwound due to a thrown exception, the
__stack_pointer global can point to an invalid address. This inserts
instructions that restore __stack_pointer global.

Reviewers: jgravelle-google, dschuff

Subscribers: mgorny, sbc100, sunfish, llvm-commits

Differential Revision: https://reviews.llvm.org/D50980

Details

Committed
aheejinAug 21 2018, 2:23 PM
Differential Revision
D50980: [WebAssembly] Restore __stack_pointer after catch instructions
Parents
rL340338: cmake: Remove TOOLLINKOPTS variable usage
Branches
Unknown
Tags
Unknown