[clang] [clang][CodeGen] Detect backward jumps for C lifetime markers (PR #238919)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 4 14:53:50 PST 2026
================
@@ -759,6 +759,19 @@ void CodeGenFunction::StartFunction(GlobalDecl GD, QualType RetTy,
const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D);
if (FD && FD->usesSEHTry())
CurSEHParent = GD;
+ if (const Stmt *Body = D ? D->getBody() : nullptr) {
----------------
efriedma-quic wrote:
Can we split this into a separate pull request? (This is a fix for the thing where we weren't running bypass detection for some code, right?)
https://github.com/llvm/llvm-project/pull/238919
More information about the cfe-commits
mailing list