projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d826e65
)
Add comment.
author
Evan Cheng
<evan.cheng@apple.com>
Tue, 23 Mar 2010 15:50:49 +0000
(15:50 +0000)
committer
Evan Cheng
<evan.cheng@apple.com>
Tue, 23 Mar 2010 15:50:49 +0000
(15:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99284
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Transforms/Utils/BuildLibCalls.h
patch
|
blob
|
history
diff --git
a/include/llvm/Transforms/Utils/BuildLibCalls.h
b/include/llvm/Transforms/Utils/BuildLibCalls.h
index 9b76a37a85c33db6a620f0d566eb309d29940e12..d278672a1f02f27c778aeb9e22b4a10d66f9e297 100644
(file)
--- 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);