From dae2e9383b31cb3ff64b3a5c1b6fcd298ce7dff9 Mon Sep 17 00:00:00 2001
From: John Criswell
Date: Thu, 12 May 2005 16:55:34 +0000
Subject: [PATCH] Correct a detail with the alloca instruction. Functions do
not exit with invoke; they exit with unwind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21893 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/LangRef.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/LangRef.html b/docs/LangRef.html
index f9b777617f2..df1ab479af2 100644
--- a/docs/LangRef.html
+++ b/docs/LangRef.html
@@ -1837,7 +1837,7 @@ a shorter version of the first that defaults to allocating one element.
memory is automatically released when the function returns. The 'alloca'
instruction is commonly used to represent automatic variables that must
have an address available. When the function returns (either with the ret or invoke
+ href="#i_ret">ret or unwind
instructions), the memory is reclaimed.
Example:
%ptr = alloca int ; yields {int*}:ptr
--
2.34.1