[all-commits] [llvm/llvm-project] c1e90f: [WebAssembly] Error on Wasm SjLj if +exception-han...

Heejin Ahn via All-commits all-commits at lists.llvm.org
Thu Feb 12 13:33:41 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c1e90fa663ca46c70d079503b83340d5e38105a4
      https://github.com/llvm/llvm-project/commit/c1e90fa663ca46c70d079503b83340d5e38105a4
  Author: Heejin Ahn <aheejin at gmail.com>
  Date:   2026-02-12 (Thu, 12 Feb 2026)

  Changed paths:
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/test/CodeGen/WebAssembly/lower-em-sjlj-alloca.ll
    M llvm/test/CodeGen/WebAssembly/lower-wasm-ehsjlj-phi.ll
    M llvm/test/CodeGen/WebAssembly/lower-wasm-ehsjlj.ll
    A llvm/test/CodeGen/WebAssembly/lower-wasm-sjlj-no-eh-feature.ll
    M llvm/test/CodeGen/WebAssembly/lower-wasm-sjlj.ll
    M llvm/test/CodeGen/WebAssembly/wasm-eh-sjlj-setjmp-within-catch.ll

  Log Message:
  -----------
  [WebAssembly] Error on Wasm SjLj if +exception-handling is missing (#181070)

This checks every user function of `setjmp` or `longjmp` and if any of
them does not have `+exception-handling` target feature, errors out.

Hopefully this gives a clearer error message to the users in case they
do not provide consistent SjLj flags at compile time vs. link time.

Closes #178135 and closes
https://github.com/emscripten-core/emscripten/issues/26165.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list