[clang] [clang][CodeGen] Fix stack-use-after-return in deferred annotations (PR #226942)

Eli Friedman via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 29 20:51:55 PDT 2026


================
@@ -0,0 +1,40 @@
+// RUN: %clang_cc1 %s -emit-llvm -triple x86_64-unknown-linux-gnu -o - | FileCheck %s
----------------
efriedma-quic wrote:

Can we integrate this into one of the existing test files?  Maybe combine clang/test/CodeGenCXX/attr-annotate-destructor.cpp, clang/test/CodeGenCXX/attr-annotate-constructor.cpp, and this into a single file.

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


More information about the cfe-commits mailing list