[PATCH] D46648: [SimplifyLibcalls] Optimize string concats using s(n)printf

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 9 15:38:30 PDT 2018


efriedma added a comment.

The C standard is very clear: "If copying takes place between objects that overlap, the behavior is undefined."  There is no exception for format strings which start with %s.


Repository:
  rL LLVM

https://reviews.llvm.org/D46648





More information about the llvm-commits mailing list