[all-commits] [llvm/llvm-project] e89fcb: Fix deprecated usage of `mallinfo`

Ta-Wei Tu via All-commits all-commits at lists.llvm.org
Tue Feb 9 21:54:24 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e89fcbfad6a3edb203ebdc2b1ead275fe909281a
      https://github.com/llvm/llvm-project/commit/e89fcbfad6a3edb203ebdc2b1ead275fe909281a
  Author: Ta-Wei Tu <tu.da.wei at gmail.com>
  Date:   2021-02-10 (Wed, 10 Feb 2021)

  Changed paths:
    M llvm/cmake/config-ix.cmake
    M llvm/include/llvm/Config/config.h.cmake
    M llvm/lib/Support/Unix/Process.inc

  Log Message:
  -----------
  Fix deprecated usage of `mallinfo`

glibc deprecates `mallinfo` in the latest version of 2.33. This patch replaces the usage of `mallinfo` with the new `mallinfo2` when it's available.

Reviewed By: lattner

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




More information about the All-commits mailing list