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 /include | |
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 'include')
-rw-r--r-- | include/llvm/Attributes.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/llvm/Attributes.h b/include/llvm/Attributes.h index cd3ee35d74..2d7b33b29b 100644 --- a/include/llvm/Attributes.h +++ b/include/llvm/Attributes.h @@ -65,8 +65,7 @@ const Attributes StackAlignment = 7<<26; ///< Alignment of stack for ///of alignment with +1 bias ///0 means unaligned (different from ///alignstack(1)) -const Attributes Hotpatch = 1<<29; ///< Function should have special - ///'hotpatch' sequence in prologue +const Attributes ReturnsTwice = 1<<29; ///< Function can return twice const Attributes UWTable = 1<<30; ///< Function must be in a unwind ///table const Attributes NonLazyBind = 1U<<31; ///< Function is called early and/or @@ -93,7 +92,7 @@ const Attributes ParameterOnly = ByVal | Nest | StructRet | NoCapture; const Attributes FunctionOnly = NoReturn | NoUnwind | ReadNone | ReadOnly | NoInline | AlwaysInline | OptimizeForSize | StackProtect | StackProtectReq | NoRedZone | NoImplicitFloat | Naked | InlineHint | StackAlignment | - Hotpatch | UWTable | NonLazyBind; + UWTable | NonLazyBind | ReturnsTwice; /// @brief Parameter attributes that do not apply to vararg call arguments. const Attributes VarArgsIncompatible = StructRet; |