Reland "[hwasan] Provide aliases for c allocation functions for Fuchsia
authorLeonard Chan <leonardchan@google.com>
Wed, 29 Mar 2023 17:34:16 +0000 (17:34 +0000)
committerLeonard Chan <leonardchan@google.com>
Wed, 29 Mar 2023 17:34:16 +0000 (17:34 +0000)
commit5bb826d569ccd80e28aedd682db39b8cddd44e53
treeaf854dc8c8765b28c15ad3e6fbc640a30c2c4893
parent99db65630c8595d248467bf3311596034c168556
Reland "[hwasan] Provide aliases for c allocation functions for Fuchsia

This reverts commit 3b4cb1e96c645bb833fe710856479c31383859bb.

Reland D145718 but unconditionally define __sanitizer_mallinfo which is
exposed as part of the hwasan interface.

Differential Revision: https://reviews.llvm.org/D145718
compiler-rt/lib/hwasan/hwasan_allocation_functions.cpp