[PATCH] D29516: [scudo] Fix buildbot test error on ARM

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 13:52:59 PST 2017


cryptoad created this revision.
Herald added subscribers: rengolin, aemerson.

The assumption __sanitizer_get_heap_size() == 0 (introduced in https://reviews.llvm.org/D29341) at the
start of a program appears to be incorrect on some ARM machines
(SizeClassAllocator32).

This should fix the test while I investigate the issue.


https://reviews.llvm.org/D29516

Files:
  lib/scudo/scudo_allocator.cpp
  lib/scudo/scudo_flags.cpp
  lib/scudo/scudo_flags.inc
  test/scudo/alignment.cpp
  test/scudo/double-free.cpp
  test/scudo/interface.cpp
  test/scudo/lit.cfg
  test/scudo/malloc.cpp
  test/scudo/memalign.cpp
  test/scudo/mismatch.cpp
  test/scudo/options.cpp
  test/scudo/overflow.cpp
  test/scudo/preinit.cpp
  test/scudo/quarantine.cpp
  test/scudo/realloc.cpp
  test/scudo/secondary.cpp
  test/scudo/sized-delete.cpp
  test/scudo/sizes.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29516.87017.patch
Type: text/x-patch
Size: 19322 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170203/65f1846f/attachment.bin>


More information about the llvm-commits mailing list