Forgot this.
authorEvan Cheng <evan.cheng@apple.com>
Tue, 23 Mar 2010 15:49:37 +0000 (15:49 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 23 Mar 2010 15:49:37 +0000 (15:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99283 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/BuildLibCalls.h

index ac5f07e2d384b1a82dcfc9f1ed3d3d75f5b0fb3a..9b76a37a85c33db6a620f0d566eb309d29940e12 100644 (file)
@@ -49,6 +49,9 @@ namespace llvm {
   Value *EmitMemCpy(Value *Dst, Value *Src, Value *Len,
                     unsigned Align, IRBuilder<> &B, const TargetData *TD);
 
+  Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
+                       IRBuilder<> &B, const TargetData *TD);
+
   /// EmitMemMove - Emit a call to the memmove function to the builder.  This
   /// always expects that the size has type 'intptr_t' and Dst/Src are pointers.
   Value *EmitMemMove(Value *Dst, Value *Src, Value *Len,