diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2011-10-03 14:45:37 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2011-10-03 14:45:37 +0000 |
| commit | cc349c8dd83fb0fdc827c786415bbec629cb05c6 (patch) | |
| tree | b30ad5a3ae3bf6841af9a9ca05a8465b95e851af /llvm/docs | |
| parent | adf23a400d107014995092db8b7b256b55b66f58 (diff) | |
| download | bcm5719-llvm-cc349c8dd83fb0fdc827c786415bbec629cb05c6.tar.gz bcm5719-llvm-cc349c8dd83fb0fdc827c786415bbec629cb05c6.zip | |
Add the returns_twice attribute to LLVM.
llvm-svn: 141001
Diffstat (limited to 'llvm/docs')
| -rw-r--r-- | llvm/docs/LangRef.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 0ec08eb0a05..7882da67e1a 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -1262,6 +1262,11 @@ define void @f() optsize { ... } the ELF x86-64 abi, but it can be disabled for some compilation units.</dd> + <dt><tt><b><a name="returns_twice">returns_twice</a></b></tt></dt> + <dd>This attribute indicates that this function can return + twice. The C <code>setjmp</code> is an example of such a function. + The compiler disables some optimizations (like tail calls) in the caller of + these functions.</dd> </dl> </div> |

