diff options
author | Heejin Ahn <aheejin@gmail.com> | 2019-03-30 11:04:48 +0000 |
---|---|---|
committer | Heejin Ahn <aheejin@gmail.com> | 2019-03-30 11:04:48 +0000 |
commit | c4ac74fb4987c083fa8e7e10f0f978ecee9402c0 (patch) | |
tree | a92104e16ccb89b0690f7684845824756ea1f3aa /clang/lib/Serialization/ModuleManager.cpp | |
parent | e9fd9073e4905eab7c0784cee804f0704a7020de (diff) | |
download | llvm-c4ac74fb4987c083fa8e7e10f0f978ecee9402c0.zip llvm-c4ac74fb4987c083fa8e7e10f0f978ecee9402c0.tar.gz llvm-c4ac74fb4987c083fa8e7e10f0f978ecee9402c0.tar.bz2 |
[WebAssembly] Fix unwind destination mismatches in CFG stackify
Summary:
Linearing the control flow by placing `try`/`end_try` markers can create
mismatches in unwind destinations. This patch resolves these mismatches
by wrapping those instructions with an incorrect unwind destination with
a nested `try`/`catch`/`end_try` and branching to the right destination
within the new catch block.
Reviewers: dschuff
Subscribers: sunfish, sbc100, jgravelle-google, chrib, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D48345
llvm-svn: 357343
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions