From 0ef0de65f14ea63a1800c56cbc2faad5b10e828f Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Wed, 9 Dec 2020 09:29:06 +0100 Subject: [PATCH] Fix typo in llvm/lib/Target/README.txt Trivial typo, replace __builtin_objectsize with __builtin_object_size. Differential Revision: https://reviews.llvm.org/D92914 --- llvm/lib/Target/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt index a4876f7..e172abb 100644 --- a/llvm/lib/Target/README.txt +++ b/llvm/lib/Target/README.txt @@ -1840,7 +1840,7 @@ current definition always folds to a constant. We also should make sure that 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)); //===---------------------------------------------------------------------===// -- 2.7.4