HomePhabricator

scudo: Instead of exporting a pointer to the allocator, export the allocator…

Authored by pcc on Feb 10 2020, 1:36 PM.

Description

scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI.

This lets us remove two pointer indirections (one by removing the pointer,
and another by making the AllocatorPtr declaration hidden) in the C++ wrappers.

Differential Revision: https://reviews.llvm.org/D74356