diff options
| author | Arthur Eubanks <aeubanks@google.com> | 2022-01-21 11:55:17 -0800 |
|---|---|---|
| committer | Arthur Eubanks <aeubanks@google.com> | 2022-01-21 14:02:42 -0800 |
| commit | 6df05697ca1d3e691f674014f7728ff71147bbe7 (patch) | |
| tree | 5581306d3dbb98957f99860690b073be17fbaad7 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp | |
| parent | 705d8c49f9be82415a9cdd793cda405333fba71e (diff) | |
[gn build] Set HAVE_MALLINFO2=1
I'm seeing deprecated warnings due to using mallinfo() instead of
mallinfo2().
../../llvm/lib/Support/Unix/Process.inc:98:10: warning: 'mallinfo' is deprecated [-Wdeprecated-declarations]
mi = ::mallinfo();
mallinfo2() is part of glibc 2.33 which was released in Feb 2021, which
is fairly recent but I think gn users should be using fairly up to date
glibcs.
If this breaks people we could make this a gn arg instead.
Differential Revision: https://reviews.llvm.org/D117916
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions
