[llvm-branch-commits] [llvm] 0ef0de6 - Fix typo in llvm/lib/Target/README.txt
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Dec 9 01:17:25 PST 2020
Author: Siddhesh Poyarekar
Date: 2020-12-09T10:12:26+01:00
New Revision: 0ef0de65f14ea63a1800c56cbc2faad5b10e828f
URL: https://github.com/llvm/llvm-project/commit/0ef0de65f14ea63a1800c56cbc2faad5b10e828f
DIFF: https://github.com/llvm/llvm-project/commit/0ef0de65f14ea63a1800c56cbc2faad5b10e828f.diff
LOG: Fix typo in llvm/lib/Target/README.txt
Trivial typo, replace __builtin_objectsize with __builtin_object_size.
Differential Revision: https://reviews.llvm.org/D92914
Added:
Modified:
llvm/lib/Target/README.txt
Removed:
################################################################################
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index a4876f715c64..e172abbbd855 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));
//===---------------------------------------------------------------------===//
More information about the llvm-branch-commits
mailing list