scudo: Fix one of the C wrapper tests on Android.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 5 Dec 2019 18:41:37 +0000 (10:41 -0800)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 5 Dec 2019 19:15:31 +0000 (11:15 -0800)
commitc8a2882a97e2efb02934dcc279f1e3e302982762
treea86821f0439ecc58d1953f2c364857ca05704692
parent0cfe0a7bb0e10a96c3c98891961d37160a931d20
scudo: Fix one of the C wrapper tests on Android.

The test ScudoWrappersCTest.Realloc expects realloc of memalign to work on
Android, but this relies on dealloc_type_mismatch being set to false. Commit
0d3d4d3b0 caused us to start setting it to true in the C wrapper tests,
which broke the test. Set it to the correct value on Android.

Differential Revision: https://reviews.llvm.org/D71078
compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp