[clang] [llvm] [WinEH] Fix try scopes leaking to caller on inline (PR #167176)

Eli Friedman via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 9 17:46:10 PST 2025


================
@@ -0,0 +1,62 @@
+// NOTE: Assertions have been autogenerated by utils/update_cc_test_checks.py UTC_ARGS: --version 6
+// RUN: %clang_cc1 -O3 -triple x86_64-windows -fasync-exceptions -fcxx-exceptions -fexceptions -fms-extensions -x c++ -Wno-implicit-function-declaration -emit-llvm %s -o - | FileCheck %s
----------------
efriedma-quic wrote:

We generally prefer clang tests to run with optimizations disabled: it makes it easier to see the correspondence between what we're testing and what's actually getting generated, and it makes the tests less sensitive to optimizer changes.  (There's a minor downside that it doesn't always capture the end-to-end result, but usually a set of clang tests plus a set of LLVM optimizer tests is sufficient.)

https://github.com/llvm/llvm-project/pull/167176


More information about the llvm-commits mailing list