summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2010-03-23 15:50:49 +0000
committerEvan Cheng <evan.cheng@apple.com>2010-03-23 15:50:49 +0000
commita56daf8a3906e478838c0d502f6a03cc2f22ef4c (patch)
tree65d56d6be7cad119a01e909ea5545cb8f8ddb437 /include
parentd826e65ef2a1af0851be0901b1afd227362a912c (diff)
downloadllvm-a56daf8a3906e478838c0d502f6a03cc2f22ef4c.tar.gz
llvm-a56daf8a3906e478838c0d502f6a03cc2f22ef4c.tar.bz2
llvm-a56daf8a3906e478838c0d502f6a03cc2f22ef4c.tar.xz
Add comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Transforms/Utils/BuildLibCalls.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Utils/BuildLibCalls.h b/include/llvm/Transforms/Utils/BuildLibCalls.h
index 9b76a37a85..d278672a1f 100644
--- a/include/llvm/Transforms/Utils/BuildLibCalls.h
+++ b/include/llvm/Transforms/Utils/BuildLibCalls.h
@@ -49,6 +49,9 @@ namespace llvm {
Value *EmitMemCpy(Value *Dst, Value *Src, Value *Len,
unsigned Align, IRBuilder<> &B, const TargetData *TD);
+ /// EmitMemCpyChk - Emit a call to the __memcpy_chk function to the builder.
+ /// This expects that the Len and ObjSize have type 'intptr_t' and Dst/Src
+ /// are pointers.
Value *EmitMemCpyChk(Value *Dst, Value *Src, Value *Len, Value *ObjSize,
IRBuilder<> &B, const TargetData *TD);