aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/MC/MCObjectFileInfo.cpp
diff options
context:
space:
mode:
authorArthur Eubanks <aeubanks@google.com>2022-01-21 11:55:17 -0800
committerArthur Eubanks <aeubanks@google.com>2022-01-21 13:38:27 -0800
commit9f4cc5a6bb56b42bb90ea31f10ecf8fed8f07653 (patch)
tree1aa7ed09196f118f5de4717267c3803933bb2f3e /llvm/lib/MC/MCObjectFileInfo.cpp
parentd84d1135d80c1dead6564347943ba56eed5aac3b (diff)
downloadllvm-9f4cc5a6bb56b42bb90ea31f10ecf8fed8f07653.zip
llvm-9f4cc5a6bb56b42bb90ea31f10ecf8fed8f07653.tar.gz
llvm-9f4cc5a6bb56b42bb90ea31f10ecf8fed8f07653.tar.bz2
[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 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions