This is an archive of the discontinued LLVM Phabricator instance.

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

Event Timeline

TaWeiTu created this revision.Feb 9 2021, 11:08 AM
TaWeiTu requested review of this revision.Feb 9 2021, 11:08 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 9 2021, 11:08 AM
lattner accepted this revision.Feb 9 2021, 6:16 PM

cool thx

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
This revision was automatically updated to reflect the committed changes.