aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/BuildLibCalls.h
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2010-03-11 20:45:13 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2010-03-11 20:45:13 +0000
commit7fa30b8e5d2774867787a4e4db17bf27358e5aac (patch)
tree4d9e0bcb0ca26dc548a838a82992a0f5a4409e92 /include/llvm/Transforms/Utils/BuildLibCalls.h
parentc6678b0014f915de8010fcfbb39461d371a5ca52 (diff)
downloadexternal_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.h9
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,