[all-commits] [llvm/llvm-project] cf40ab: WebAssembly: Remove -wasm-enable-eh cl::opt in fav...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Sep 21 01:22:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf40ab1dc19aa9b42e0725fec1e5cf34f898a4d4
      https://github.com/llvm/llvm-project/commit/cf40ab1dc19aa9b42e0725fec1e5cf34f898a4d4
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-21 (Mon, 21 Sep 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    R clang/test/CodeGen/WebAssembly/exception-model-flag.c
    M clang/test/CodeGen/WebAssembly/wasm-exception-model-flag-parse-ir-input.ll
    M clang/test/CodeGen/exception-model-flag.c
    M clang/test/CodeGenCXX/builtins-eh-wasm.cpp
    M clang/test/CodeGenCXX/wasm-eh.cpp
    M clang/test/CodeGenObjC/wasm32-eh-arc.m
    M clang/test/CodeGenObjC/wasm32-eh.m
    M clang/test/CodeGenObjCXX/wasm32-eh-objcxx.mm
    M clang/test/Driver/wasm-toolchain.c
    M llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.ll
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh-legacy.mir
    M llvm/test/CodeGen/WebAssembly/cfg-stackify-eh.ll
    M llvm/test/CodeGen/WebAssembly/eh-lsda.ll
    M llvm/test/CodeGen/WebAssembly/eh-option-errors.ll
    M llvm/test/CodeGen/WebAssembly/exception-legacy.ll
    M llvm/test/CodeGen/WebAssembly/exception-legacy.mir
    M llvm/test/CodeGen/WebAssembly/exception.ll
    M llvm/test/CodeGen/WebAssembly/lower-wasm-ehsjlj-phi.ll
    M llvm/test/CodeGen/WebAssembly/lower-wasm-ehsjlj.ll
    M llvm/test/CodeGen/WebAssembly/null-streamer.ll
    M llvm/test/CodeGen/WebAssembly/wasm-eh-em-sjlj-error.ll
    M llvm/test/CodeGen/WebAssembly/wasm-eh-invalid-personality.ll
    M llvm/test/CodeGen/WebAssembly/wasm-eh-prepare.ll
    M llvm/test/CodeGen/WebAssembly/wasm-eh-sjlj-setjmp-within-catch.ll

  Log Message:
  -----------
  WebAssembly: Remove -wasm-enable-eh cl::opt in favor of -exception-model=wasm (#224313)

The -wasm-enable-eh backend flag was redundant with
-exception-model=wasm: every caller paired the two, and the model already 
carries the intent.

Co-authored-by: Claude (Claude-Opus-4.8) <noreply at anthropic.com>



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