[scudo] Provide allocator declaration
authorDominic Chen <ddchen@apple.com>
Wed, 16 Mar 2022 20:35:51 +0000 (13:35 -0700)
committerDominic Chen <ddchen@apple.com>
Wed, 30 Mar 2022 00:39:45 +0000 (17:39 -0700)
commit6ba8c8abe982722f5e4383553d03c1c77f9dfbb0
treec941e8a2b1860b122c20453c8aff3f975df91daa
parent030d8262a6e8055660ae74bdb7e4f22c741a1e17
[scudo] Provide allocator declaration

Ensure that extern allocator declaration is visible before definition

Differential Revision: https://reviews.llvm.org/D121848
compiler-rt/lib/scudo/standalone/wrappers_c.cpp
compiler-rt/lib/scudo/standalone/wrappers_c.h
compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp