[all-commits] [llvm/llvm-project] c8a288: scudo: Fix one of the C wrapper tests on Android.

pcc via All-commits all-commits at lists.llvm.org
Thu Dec 5 11:15:49 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c8a2882a97e2efb02934dcc279f1e3e302982762
      https://github.com/llvm/llvm-project/commit/c8a2882a97e2efb02934dcc279f1e3e302982762
  Author: Peter Collingbourne <peter at pcc.me.uk>
  Date:   2019-12-05 (Thu, 05 Dec 2019)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/tests/scudo_unit_test_main.cpp

  Log Message:
  -----------
  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




More information about the All-commits mailing list