[PATCH] D88335: [BuildLibCalls] Add noalias for strcat and stpcpy

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 25 13:16:03 PDT 2020


fhahn added reviewers: jdoerfert, efriedma, lebedev.ri.
fhahn added a comment.

LGTM,  I checked libc on macOS which also states that overlapping string args are UB for both `strcpy` & `strcat`. It seems a bit odd that those were missed out initially, so please wait a bit with committing, in case there's something I am missing.


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

https://reviews.llvm.org/D88335



More information about the llvm-commits mailing list