[PATCH] D92914: Fix typo in llvm/lib/Target/README.txt

Siddhesh Poyarekar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 8 22:39:53 PST 2020


siddhesh created this revision.
Herald added a subscriber: hiraditya.
siddhesh requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Trivial typo, replace __builtin_objectsize with __builtin_object_size.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92914

Files:
  llvm/lib/Target/README.txt


Index: llvm/lib/Target/README.txt
===================================================================
--- llvm/lib/Target/README.txt
+++ llvm/lib/Target/README.txt
@@ -1840,7 +1840,7 @@
 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));
 
 //===---------------------------------------------------------------------===//
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92914.310422.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201209/f8f0a7a5/attachment.bin>


More information about the llvm-commits mailing list