[PATCH] D44134: [WebAssembly] Add WebAssemblyException information analysis

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 21:43:42 PST 2018


aheejin created this revision.
aheejin added a reviewer: dschuff.
Herald added subscribers: llvm-commits, sunfish, jgravelle-google, sbc100, mgorny, jfb.

A WebAssemblyException object contains BBs that belong to a 'catch' part
of the try-catch-end structure. Because CFGSort requires all the BBs
within a catch part to be sorted together as it does for loops, this
pass calculates the nesting structure of catch part of exceptions in a
function.


Repository:
  rL LLVM

https://reviews.llvm.org/D44134

Files:
  lib/Target/WebAssembly/CMakeLists.txt
  lib/Target/WebAssembly/WebAssembly.h
  lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp
  lib/Target/WebAssembly/WebAssemblyExceptionInfo.h
  lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44134.137127.patch
Type: text/x-patch
Size: 14288 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180306/f4cf6462/attachment.bin>


More information about the llvm-commits mailing list