diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-11 20:45:13 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2010-03-11 20:45:13 +0000 |
commit | 7fa30b8e5d2774867787a4e4db17bf27358e5aac (patch) | |
tree | 4d9e0bcb0ca26dc548a838a82992a0f5a4409e92 /include/llvm/Transforms/Utils/BuildLibCalls.h | |
parent | c6678b0014f915de8010fcfbb39461d371a5ca52 (diff) | |
download | external_llvm-7fa30b8e5d2774867787a4e4db17bf27358e5aac.zip external_llvm-7fa30b8e5d2774867787a4e4db17bf27358e5aac.tar.gz external_llvm-7fa30b8e5d2774867787a4e4db17bf27358e5aac.tar.bz2 |
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
Diffstat (limited to 'include/llvm/Transforms/Utils/BuildLibCalls.h')
-rw-r--r-- | include/llvm/Transforms/Utils/BuildLibCalls.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/include/llvm/Transforms/Utils/BuildLibCalls.h b/include/llvm/Transforms/Utils/BuildLibCalls.h index f79aaf0..5efaecf 100644 --- a/include/llvm/Transforms/Utils/BuildLibCalls.h +++ b/include/llvm/Transforms/Utils/BuildLibCalls.h @@ -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, |