[PATCH] D54273: [WebAssembly] Fix LowerEmscriptenEHSjLj when there's only longjmp

Heejin Ahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 8 13:35:57 PST 2018


aheejin created this revision.
aheejin added a reviewer: jgravelle-google.
Herald added subscribers: llvm-commits, sunfish, sbc100, dschuff.
aheejin edited the summary of this revision.

The pass incorrectly assumed if there's a longjmp declaration in the
module, there is also a setjmp function declaration. Fixed it, and not
the pass only converts longjmp and does not do any other transformation
when there's no setjmp declaration in the module.

Fixes PR39562 <https://bugs.llvm.org/show_bug.cgi?id=39562>.


Repository:
  rL LLVM

https://reviews.llvm.org/D54273

Files:
  lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
  test/CodeGen/WebAssembly/lower-em-sjlj-longjmp-only.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54273.173217.patch
Type: text/x-patch
Size: 8457 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181108/bc3a55b6/attachment.bin>


More information about the llvm-commits mailing list