This is an archive of the discontinued LLVM Phabricator instance.

scudo: Fix one of the C wrapper tests on Android.
ClosedPublic

Authored by pcc on Dec 5 2019, 10:57 AM.

Details

Summary

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.

Diff Detail

Event Timeline

pcc created this revision.Dec 5 2019, 10:57 AM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptDec 5 2019, 10:57 AM
Herald added subscribers: Restricted Project, srhines. · View Herald Transcript
cryptoad accepted this revision.Dec 5 2019, 11:03 AM
This revision is now accepted and ready to land.Dec 5 2019, 11:03 AM

Build result: pass - 60520 tests passed, 0 failed and 726 were skipped.

Log files: console-log.txt, CMakeCache.txt

This revision was automatically updated to reflect the committed changes.