forked from OSchip/llvm-project
Fix typo in llvm/lib/Target/README.txt
Trivial typo, replace __builtin_objectsize with __builtin_object_size. Differential Revision: https://reviews.llvm.org/D92914
This commit is contained in:
parent
8d33f08844
commit
0ef0de65f1
|
@ -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));
|
||||
|
||||
//===---------------------------------------------------------------------===//
|
||||
|
||||
|
|
Loading…
Reference in New Issue