HomePhabricator

Add __warn_memset_zero_len builtin as a workaround for glibc issue
cd4c65f91d5aUnpublished

Authored by serge-sans-paille on Jan 16 2020, 12:53 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Add __warn_memset_zero_len builtin as a workaround for glibc issue

Glibc issue: https://sourceware.org/bugzilla/show_bug.cgi?id=25399
The fix consist in considering the missing function as a builtin lowered to a nop.

Differential Revision: https://reviews.llvm.org/D72869

(cherry picked from commit d293417931d3a9d46799b42795988ca3b5cfd766)

Details