stpcpy is so similar to strcpy, it doesn't deserve a complete copy of the __strcpy_chk -> strcpy code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98284 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer
2010-03-11 20:45:13 +00:00
parent c6678b0014
commit 7fa30b8e5d
4 changed files with 13 additions and 65 deletions
@@ -37,13 +37,8 @@ namespace llvm {
/// EmitStrCpy - Emit a call to the strcpy function to the builder, for the
/// specified pointer arguments.
Value *EmitStrCpy(Value *Dst, Value *Src, IRBuilder<> &B,
const TargetData *TD);
/// EmitStpCpy - Emit a call to the stpcpy function to the builder, for the
/// specified pointer arguments.
Value *EmitStpCpy(Value *Dst, Value *Src, IRBuilder<> &B,
const TargetData *TD);
const TargetData *TD, StringRef Name = "strcpy");
/// EmitStrNCpy - Emit a call to the strncpy function to the builder, for the
/// specified pointer arguments and length.
Value *EmitStrNCpy(Value *Dst, Value *Src, Value *Len, IRBuilder<> &B,