diff options
Diffstat (limited to 'include/llvm/IR/Attributes.h')
-rw-r--r-- | include/llvm/IR/Attributes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/IR/Attributes.h b/include/llvm/IR/Attributes.h index 2a0363ceb2..d4836ee30e 100644 --- a/include/llvm/IR/Attributes.h +++ b/include/llvm/IR/Attributes.h @@ -95,6 +95,8 @@ public: StackProtectReq, ///< Stack protection required. StackProtectStrong, ///< Strong Stack protection. StructRet, ///< Hidden pointer to structure to return + ThreadSafety, ///< Thread safety checking is on. + UninitializedChecks, ///< Checking for uses of uninitialized memory is on. UWTable, ///< Function must be in a unwind table ZExt, ///< Zero extended before/after call @@ -507,6 +509,8 @@ public: .removeAttribute(Attribute::NonLazyBind) .removeAttribute(Attribute::ReturnsTwice) .removeAttribute(Attribute::AddressSafety) + .removeAttribute(Attribute::ThreadSafety) + .removeAttribute(Attribute::UninitializedChecks) .removeAttribute(Attribute::MinSize) .removeAttribute(Attribute::NoDuplicate); } |