diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt --- a/llvm/lib/Target/README.txt +++ b/llvm/lib/Target/README.txt @@ -1840,7 +1840,7 @@ we remove checking in code like char *p = malloc(strlen(s)+1); - __strcpy_chk(p, s, __builtin_objectsize(p, 0)); + __strcpy_chk(p, s, __builtin_object_size(p, 0)); //===---------------------------------------------------------------------===//