[all-commits] [llvm/llvm-project] c55b6c: [WebAssembly] Handle _setjmp and _longjmp in SjLj

Heejin Ahn via All-commits all-commits at lists.llvm.org
Mon Sep 13 14:46:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c55b6c593b32c45947bd44fc5c38b4b5e01f4d66
      https://github.com/llvm/llvm-project/commit/c55b6c593b32c45947bd44fc5c38b4b5e01f4d66
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2021-09-13 (Mon, 13 Sep 2021)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/test/CodeGen/WebAssembly/lower-em-sjlj.ll

  Log Message:
  -----------
  [WebAssembly] Handle _setjmp and _longjmp in SjLj

In some platforms `_setjmp` and `_longjmp` are used instead of `setjmp`
and `longjmp`. This CL adds support for them.

Fixes https://github.com/emscripten-core/emscripten/issues/14999.

Reviewed By: dschuff

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




More information about the All-commits mailing list