[PATCH] D57807: build: Remove the cmake check for malloc.h.
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 6 06:01:36 PST 2019
thakis accepted this revision.
thakis added a comment.
This revision is now accepted and ready to land.
Nice!
================
Comment at: llvm/lib/Support/Unix/Process.inc:36
-// DragonFlyBSD, and OpenBSD have deprecated <malloc.h> for
-// <stdlib.h> instead. Unix.h includes this for us already.
-#if defined(HAVE_MALLOC_H) && !defined(__DragonFly__) && \
----------------
This change kind of assumes that HAVE_MALLINFO is false on dragonfly and openbsd. But I suppose it's consistent with `check_symbol_exists(mallinfo malloc.h HAVE_MALLINFO)` in config-ix.cmake.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D57807/new/
https://reviews.llvm.org/D57807
More information about the llvm-commits
mailing list