[all-commits] [llvm/llvm-project] 32c79e: [WinEH] Only emit err_seh_object_unwinding when CX...

GkvJwa via All-commits all-commits at lists.llvm.org
Fri Feb 13 06:33:49 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 32c79e0e9cc67b2f531fbcd1991d1c5a912e1313
      https://github.com/llvm/llvm-project/commit/32c79e0e9cc67b2f531fbcd1991d1c5a912e1313
  Author: GkvJwa <gkvjwa at gmail.com>
  Date:   2026-02-13 (Fri, 13 Feb 2026)

  Changed paths:
    M clang/lib/CodeGen/CGDecl.cpp
    M clang/test/CodeGenCXX/exceptions-seh.cpp

  Log Message:
  -----------
  [WinEH] Only emit err_seh_object_unwinding when CXXExceptions are enabled (#180959)

Based on the PR(https://github.com/llvm/llvm-project/pull/180108)
discussion, it has been modified to check when `/EH*` is enabled.

Although `/EHsc` `/EHs` are slightly different from `/EHa`, and the
changes here have different effects than `/EHa` when these two switches
are enabled, we are still considering supporting this situation, and we
will improve support for `/EHs*` in the future.



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