[all-commits] [llvm/llvm-project] 812c14: WebAssembly: Drive Emscripten EH from the exceptio...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 16 14:18:07 PDT 2026


  Branch: refs/heads/users/arsenm/exception-model/wasm-emscripteneh-drop-clopt
  Home:   https://github.com/llvm/llvm-project
  Commit: 812c14dbbc61f87adbb2040925e2d1508b0a8a97
      https://github.com/llvm/llvm-project/commit/812c14dbbc61f87adbb2040925e2d1508b0a8a97
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-16 (Wed, 16 Sep 2026)

  Changed paths:
    M clang/lib/Driver/ToolChains/WebAssembly.cpp
    R clang/test/CodeGen/WebAssembly/exception-model-flag.c
    M clang/test/CodeGen/exception-model-flag.c
    M clang/test/Driver/wasm-toolchain.c
    M llvm/lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyCodeGenPassBuilder.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
    M llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.h

  Log Message:
  -----------
  WebAssembly: Drive Emscripten EH from the exception model, drop the cl::opt

Remove the deprecated -enable-emscripten-cxx-exceptions flag. This should now
be driven by the generic exception-model mechanisms. There was also some special
case handling of the -mllvm flag in the clang driver which also needed removal.

Also reverts the test change in b6912258891caefffbf15edb1bceff3724b75af5 now that
the backend doesn't need to be built to test the flag behavior.

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