diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm-c/Core.h | 5 | ||||
-rw-r--r-- | include/llvm/IR/Attributes.h | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/llvm-c/Core.h b/include/llvm-c/Core.h index f2fe764..5b7422f 100644 --- a/include/llvm-c/Core.h +++ b/include/llvm-c/Core.h @@ -173,10 +173,11 @@ typedef enum { LLVMUWTable = 1 << 30, LLVMNonLazyBind = 1 << 31 - /* FIXME: This attribute is currently not included in the C API as + /* FIXME: These attributes are currently not included in the C API as a temporary measure until the API/ABI impact to the C API is understood and the path forward agreed upon. - LLVMAddressSafety = 1ULL << 32 + LLVMAddressSafety = 1ULL << 32, + LLVMStackProtectStrongAttribute = 1ULL<<33 */ } LLVMAttribute; diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index de214d1..813718f 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -90,6 +90,7 @@ public: ///< alignstack=(1)) StackProtect, ///< Stack protection. StackProtectReq, ///< Stack protection required. + StackProtectStrong, ///< Strong Stack protection. StructRet, ///< Hidden pointer to structure to return UWTable, ///< Function must be in a unwind table ZExt, ///< Zero extended before/after call @@ -463,6 +464,7 @@ public: .removeAttribute(Attribute::OptimizeForSize) .removeAttribute(Attribute::StackProtect) .removeAttribute(Attribute::StackProtectReq) + .removeAttribute(Attribute::StackProtectStrong) .removeAttribute(Attribute::NoRedZone) .removeAttribute(Attribute::NoImplicitFloat) .removeAttribute(Attribute::Naked) |