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

Eli Friedman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 16 13:16:40 PST 2020


efriedma added a comment.

This is very hacky, 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.

Please add a testcase.


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