[cfe-commits] r51921 - /cfe/trunk/include/clang/AST/Builtins.def
Steve Naroff
snaroff at apple.com
Tue Jun 3 15:16:48 PDT 2008
Author: snaroff
Date: Tue Jun 3 17:16:48 2008
New Revision: 51921
URL: http://llvm.org/viewvc/llvm-project?rev=51921&view=rev
Log:
Add a few more built-in functions.
Modified:
cfe/trunk/include/clang/AST/Builtins.def
Modified: cfe/trunk/include/clang/AST/Builtins.def
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Builtins.def?rev=51921&r1=51920&r2=51921&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Builtins.def (original)
+++ cfe/trunk/include/clang/AST/Builtins.def Tue Jun 3 17:16:48 2008
@@ -100,10 +100,13 @@
BUILTIN(__builtin_return_address, "v*Ui", "n")
BUILTIN(__builtin_frame_address, "v*Ui", "n")
// GCC Object size checking builtins
+BUILTIN(__builtin___memset_chk, "v*v*izz", "n")
BUILTIN(__builtin___memcpy_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___memmove_chk, "v*v*vC*zz", "n")
BUILTIN(__builtin___mempcpy_chk, "v*v*vC*zz", "n")
-BUILTIN(__builtin___strncpy_chk, "cC*cC*cC*zz", "n")
+BUILTIN(__builtin___strncpy_chk, "c*cC*cC*zz", "n")
+BUILTIN(__builtin___strcpy_chk, "c*cC*cC*z", "n")
+BUILTIN(__builtin___strcat_chk, "c*c*cC*z", "n")
BUILTIN(__builtin_expect, "iii" , "nc")
BUILTIN(__builtin_shufflevector, "v." , "nc")
More information about the cfe-commits
mailing list