[scudo][standalone] Add new mallopt options.
authorChristopher Ferris <cferris@google.com>
Tue, 28 Jul 2020 23:25:49 +0000 (16:25 -0700)
committerKostya Kortchinsky <kostyak@google.com>
Tue, 28 Jul 2020 23:28:16 +0000 (16:28 -0700)
commitf14472a2e327a393d4795a141b901be1dd397505
tree4c5a31682f64b95f3b991bd2301ebd6633bb0652
parent75f222b4762a660506325850bfbd3e4241a7e347
[scudo][standalone] Add new mallopt options.

This adds the code to support calling mallopt and converting the
options to the internal Option enum.

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D84806
compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
compiler-rt/lib/scudo/standalone/wrappers_c.inc