aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/BuildLibCalls.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2010-04-07 23:00:07 +0000
committerEric Christopher <echristo@apple.com>2010-04-07 23:00:07 +0000
commit71988f1e5bb400d83c622dbec0de2bd7287f078b (patch)
treefb5aed8ffb52c9f5848b0686f1f14e226155608e /include/llvm/Transforms/Utils/BuildLibCalls.h
parent75361b69f3f327842b9dad69fa7f28ae3b688412 (diff)
downloadexternal_llvm-71988f1e5bb400d83c622dbec0de2bd7287f078b.zip
external_llvm-71988f1e5bb400d83c622dbec0de2bd7287f078b.tar.gz
external_llvm-71988f1e5bb400d83c622dbec0de2bd7287f078b.tar.bz2
Add support for stpncpy_chk.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100710 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/BuildLibCalls.h')
-rw-r--r--include/llvm/Transforms/Utils/BuildLibCalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Utils/BuildLibCalls.h b/include/llvm/Transforms/Utils/BuildLibCalls.h
index 8e76f50..6df3469 100644
--- a/include/llvm/Transforms/Utils/BuildLibCalls.h
+++ b/include/llvm/Transforms/Utils/BuildLibCalls.h
@@ -42,7 +42,7 @@ namespace llvm {
/// 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,
- const TargetData *TD);
+ const TargetData *TD, StringRef Name = "strncpy");
/// EmitMemCpy - Emit a call to the memcpy function to the builder. This
/// always expects that the size has type 'intptr_t' and Dst/Src are pointers.