Add an expected parameter for the size of the destination.

<rdar://problem/12622659>

llvm-svn: 170392
This commit is contained in:
Bill Wendling 2012-12-18 00:34:49 +00:00
parent 45f2e71571
commit 5d4e6a6a10
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ BUILTIN(__builtin_extend_pointer, "ULLiv*", "n") // _Unwind_Word == uint64_t
// GCC Object size checking builtins
BUILTIN(__builtin_object_size, "zvC*i", "n")
BUILTIN(__builtin___memcpy_chk, "v*v*vC*zz", "nF")
BUILTIN(__builtin___memccpy_chk, "v*v*vC*iz", "nF")
BUILTIN(__builtin___memccpy_chk, "v*v*vC*izz", "nF")
BUILTIN(__builtin___memmove_chk, "v*v*vC*zz", "nF")
BUILTIN(__builtin___mempcpy_chk, "v*v*vC*zz", "nF")
BUILTIN(__builtin___memset_chk, "v*v*izz", "nF")