From 76ce2055c858caa96d28a3dc49369d4aadf2764f Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 11 Mar 2010 19:24:34 +0000 Subject: Lower stpcpy_chk when possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98274 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/Utils/BuildLibCalls.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/llvm/Transforms/Utils/BuildLibCalls.h') diff --git a/include/llvm/Transforms/Utils/BuildLibCalls.h b/include/llvm/Transforms/Utils/BuildLibCalls.h index 22d42ff..f79aaf0 100644 --- a/include/llvm/Transforms/Utils/BuildLibCalls.h +++ b/include/llvm/Transforms/Utils/BuildLibCalls.h @@ -39,6 +39,11 @@ namespace llvm { 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); + /// 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, -- cgit v1.1