[PATCH] D72869: Add __warn_memset_zero_len builtin as a workaround for glibc issue

serge via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 14:06:09 PST 2020


serge-sans-paille added a comment.

In D72869#1824951 <https://reviews.llvm.org/D72869#1824951>, @efriedma wrote:

> This is very hacky,


Yeah, I know...

> but it might be the least-bad alternative.  I mean, we could change D71082 <https://reviews.llvm.org/D71082> so it doesn't allow system headers to define memset, but that seems worse.

Definitively

> Please add a testcase.

Done


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D72869





More information about the cfe-commits mailing list