[llvm-commits] [llvm] r99284 - /llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h

Evan Cheng evan.cheng at apple.com
Tue Mar 23 08:50:49 PDT 2010


Author: evancheng
Date: Tue Mar 23 10:50:49 2010
New Revision: 99284

URL: http://llvm.org/viewvc/llvm-project?rev=99284&view=rev
Log:
Add comment.

Modified:
    llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h

Modified: llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h?rev=99284&r1=99283&r2=99284&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/BuildLibCalls.h Tue Mar 23 10:50:49 2010
@@ -49,6 +49,9 @@
   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);
 





More information about the llvm-commits mailing list