[all-commits] [llvm/llvm-project] d437fb: Reapply Allow system header to provide their own i...

serge-sans-paille via All-commits all-commits at lists.llvm.org
Fri Jan 17 00:58:40 PST 2020


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

  Changed paths:
    M clang/include/clang/AST/Decl.h
    M clang/lib/AST/Decl.cpp
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/memcpy-nobuiltin.c
    A clang/test/CodeGen/memcpy-nobuiltin.inc

  Log Message:
  -----------
  Reapply Allow system header to provide their own implementation of some builtin

This reverts commit 3d210ed3d1880c615776b07d1916edb400c245a6.

See https://reviews.llvm.org/D71082 for the patch and discussion that make it
possible to reapply this patch.


  Commit: d293417931d3a9d46799b42795988ca3b5cfd766
      https://github.com/llvm/llvm-project/commit/d293417931d3a9d46799b42795988ca3b5cfd766
  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


Compare: https://github.com/llvm/llvm-project/compare/6b840834cd50...d293417931d3


More information about the All-commits mailing list