[clang] [llvm] [WinEH] Fix try scopes leaking to caller on inline (PR #167176)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 3 14:40:14 PST 2025
================
@@ -0,0 +1,170 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 6
+; RUN: llc < %s | FileCheck %s
+target datalayout = "e-m:w-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
+target triple = "x86_64-pc-windows-pc"
+
+ at p = dso_local global ptr null, align 8
+
+define dso_local noundef i32 @main(i32 noundef %argc, ptr noundef readnone captures(none) %argv) local_unnamed_addr personality ptr @__C_specific_handler {
----------------
efriedma-quic wrote:
If this was originally C++, maybe put the corresponding C++ code for reference.
https://github.com/llvm/llvm-project/pull/167176
More information about the llvm-commits
mailing list