[PATCH] D146324: scudo: Don't define mallinfo2 on Android.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 17 12:59:49 PDT 2023


pcc added a comment.

How do you usually build Scudo? When I run the unit tests I cross compile it for Android using llvm's gn build system. If you're building it as part of the Android platform, `SCUDO_PREFIX` will be defined to add a prefix of `scudo_`, so the alias in `malloc.h` wouldn't affect the definitions.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146324/new/

https://reviews.llvm.org/D146324



More information about the llvm-commits mailing list