Skip to content

Commit

Permalink
Fix typo in llvm/lib/Target/README.txt
Browse files Browse the repository at this point in the history
Trivial typo, replace __builtin_objectsize with __builtin_object_size.

Differential Revision: https://reviews.llvm.org/D92914
  • Loading branch information
siddhesh authored and serge-sans-paille committed Dec 9, 2020
1 parent 8d33f08 commit 0ef0de6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/lib/Target/README.txt
Expand Up @@ -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));

//===---------------------------------------------------------------------===//

Expand Down

0 comments on commit 0ef0de6

Please sign in to comment.