[PATCH] Refactor fortified (__*_chk) library function handling in TLI/LibCallSimplifier.
Ahmed Bougacha
ahmed.bougacha at gmail.com
Fri Oct 24 11:51:49 PDT 2014
[4/4] Fix stpcpy support when building st*cpy libcalls.
Check that the stpcpy/stpncpy libcalls are actually available
before generating them.
Also, set the correct name on the return value rather than always
strncpy.
http://reviews.llvm.org/D5982
Files:
include/llvm/Target/TargetLibraryInfo.h
include/llvm/Transforms/Utils/BuildLibCalls.h
include/llvm/Transforms/Utils/SimplifyLibCalls.h
lib/CodeGen/CodeGenPrepare.cpp
lib/Target/TargetLibraryInfo.cpp
lib/Transforms/Utils/BuildLibCalls.cpp
lib/Transforms/Utils/SimplifyLibCalls.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5982.15431.patch
Type: text/x-patch
Size: 17356 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141024/d598cbcf/attachment.bin>
More information about the llvm-commits
mailing list