From 70c1820d15eaea1335ca00857af2e21f4ec67f7d 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 --- lib/Target/README.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Target/README.txt b/lib/Target/README.txt index a4876f715c6..e172abbbd85 100644 --- a/lib/Target/README.txt +++ b/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)); //===---------------------------------------------------------------------===//