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 | 25456ef74ca7ac9bf46451f28d995f785e2596de (patch) | |
tree | 18586bc9bb420e189784ca02d1cb0d99f1d95ee2 /docs | |
parent | 04c5be9f12fbb802ae48791399e999f29c0fb5c9 (diff) | |
download | llvm-25456ef74ca7ac9bf46451f28d995f785e2596de.tar.gz llvm-25456ef74ca7ac9bf46451f28d995f785e2596de.tar.bz2 llvm-25456ef74ca7ac9bf46451f28d995f785e2596de.tar.xz |
Add the returns_twice attribute to LLVM.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141001 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r-- | docs/LangRef.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 0ec08eb0a0..7882da67e1 100644 --- a/docs/LangRef.html +++ b/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> |