[all-commits] [llvm/llvm-project] cd4c65: Add __warn_memset_zero_len builtin as a workaround...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Fri Jan 17 01:03:07 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: cd4c65f91d5a77de28239979b772a8022dc6627a
      https://github.com/llvm/llvm-project/commit/cd4c65f91d5a77de28239979b772a8022dc6627a
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2020-01-17 (Fri, 17 Jan 2020)

  Changed paths:
    M clang/include/clang/Basic/Builtins.def
    M clang/lib/CodeGen/CGBuiltin.cpp
    M clang/test/CodeGen/builtins.c

  Log Message:
  -----------
  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)




More information about the All-commits mailing list