[stackprotector] Added intrinsic llvm.stackprotectorcheck.
[oota-llvm.git] / include / llvm / IR / Intrinsics.td
index ffa121d60c75da7d0a0d4110ca7da5cee60fd2a4..18f56d2e150405ae13668477e5b293bf11f39f7b 100644 (file)
@@ -258,6 +258,8 @@ def int_readcyclecounter : Intrinsic<[llvm_i64_ty]>;
 // Stack Protector Intrinsic - The stackprotector intrinsic writes the stack
 // guard to the correct place on the stack frame.
 def int_stackprotector : Intrinsic<[], [llvm_ptr_ty, llvm_ptrptr_ty], []>;
+def int_stackprotectorcheck : Intrinsic<[], [llvm_ptrptr_ty],
+                                        [IntrReadWriteArgMem]>;
 
 //===------------------- Standard C Library Intrinsics --------------------===//
 //