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

serge via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 9 01:12:50 PST 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG0ef0de65f14e: Fix typo in llvm/lib/Target/README.txt (authored by siddhesh, committed by serge-sans-paille).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D92914/new/

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.310449.patch
Type: text/x-patch
Size: 443 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201209/bfd65d7f/attachment.bin>


More information about the llvm-commits mailing list