diff options
author | Duncan Sands <baldrick@free.fr> | 2008-03-17 12:17:41 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2008-03-17 12:17:41 +0000 |
commit | c572c1e487eaeb0aa747499b322a755b58cd3b83 (patch) | |
tree | 6f0f7fb23f249246b85decbc50970aa487514afc /llvm | |
parent | 0d3970c839fecbf44c2016435c743af61ae87e12 (diff) | |
download | bcm5719-llvm-c572c1e487eaeb0aa747499b322a755b58cd3b83.tar.gz bcm5719-llvm-c572c1e487eaeb0aa747499b322a755b58cd3b83.zip |
Clarify the unwind attribute. Add assumption
about sret made by the optimizers.
llvm-svn: 48452
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/docs/LangRef.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index f5528b86ca9..d0d7f5f5ea1 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -829,6 +829,7 @@ declare i32 @atoi(i8*) nounwind readonly <dt><tt>sret</tt></dt> <dd>This indicates that the pointer parameter specifies the address of a structure that is the return value of the function in the source program. + Loads and stores to the structure are assumed not to trap. May only be applied to the first parameter.</dd> <dt><tt>noalias</tt></dt> @@ -842,10 +843,11 @@ declare i32 @atoi(i8*) nounwind readonly an <tt>unreachable</tt> instruction immediately followed the call.</dd> <dt><tt>nounwind</tt></dt> - <dd>This function attribute indicates that the function type does not use - the unwind instruction and does not allow stack unwinding to propagate - through it.</dd> - + <dd>This function attribute indicates that no exceptions unwind out of the + function. Usually this is because the function makes no use of exceptions, + but it may also be that the function catches any exceptions thrown when + executing it.</dd> + <dt><tt>nest</tt></dt> <dd>This indicates that the parameter can be excised using the <a href="#int_trampoline">trampoline intrinsics</a>.</dd> |