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.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D96359
Fix deprecated usage of `mallinfo` ClosedPublic Authored by TaWeiTu on Feb 9 2021, 11:08 AM.
Details
Summary 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.
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: dexonsmith, hiraditya, mgorny. · View Herald TranscriptFeb 9 2021, 11:08 AM This revision is now accepted and ready to land.Feb 9 2021, 6:16 PM This revision was landed with ongoing or failed builds.Feb 9 2021, 9:54 PM Closed by commit rGe89fcbfad6a3: Fix deprecated usage of `mallinfo` (authored by TaWeiTu). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 322449 llvm/cmake/config-ix.cmake
llvm/include/llvm/Config/config.h.cmake
llvm/lib/Support/Unix/Process.inc
|
clang-tidy: error: use of undeclared identifier 'Process' [clang-diagnostic-error]
not useful
clang-tidy: error: use of undeclared identifier 'Process' [clang-diagnostic-error]
not useful