summaryrefslogtreecommitdiffstats
path: root/libcxx/include/algorithm
diff options
context:
space:
mode:
authorHeejin Ahn <aheejin@gmail.com>2018-08-16 23:50:59 +0000
committerHeejin Ahn <aheejin@gmail.com>2018-08-16 23:50:59 +0000
commite76fa9eccaec169913725487c1760341ff4853d4 (patch)
tree6a90f2d50ff969000236eaee1fcc04b8f3710c8d /libcxx/include/algorithm
parent921e19563328682eb332124fb7fd01ed74a9da86 (diff)
downloadbcm5719-llvm-e76fa9eccaec169913725487c1760341ff4853d4.tar.gz
bcm5719-llvm-e76fa9eccaec169913725487c1760341ff4853d4.zip
[WebAssembly] CFG stackify support for exception handling
Summary: This adds support for exception handling to CFGStackify pass. This only adds TRY / END_TRY markers and DOES NOT yet fix unwind mismatches that can be created by the linearization of the CFG into the structural wasm format. The mismatch fix will be added by following patches. In detail, this patch - Added support for TRY / END_TRY markers to support EH - Changed many static functions into class member functions as they take too many arguments now - Added several more bookeeping data structures - Refactored routines that decide where to insert markers, because without refactoring this got too complicated as we added support for new kinds of markers (TRY/END_TRY). - Rewrote rethrow instructions' BB arguments to relative depths in EH pad stack. Reviewers: dschuff, sunfish Subscribers: sbc100, jgravelle-google, llvm-commits Differential Revision: https://reviews.llvm.org/D48273 llvm-svn: 339967
Diffstat (limited to 'libcxx/include/algorithm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud