llvm-project/compiler-rt/test/scudo
Kostya Kortchinsky 71dcc33c58 [scudo] Lay the foundation for 32-bit support
Summary:
In order to support 32-bit platforms, we have to make some adjustments in
multiple locations, one of them being the Scudo chunk header. For it to fit on
64 bits (as a reminder, on x64 it's 128 bits), I had to crunch the space taken
by some of the fields. In order to keep the offset field small, the secondary
allocator was changed to accomodate aligned allocations for larger alignments,
hence making the offset constant for chunks serviced by it.

The resulting header candidate has been added, and further modifications to
allow 32-bit support will follow.

Another notable change is the addition of MaybeStartBackgroudThread() to allow
release of the memory to the OS.

Reviewers: kcc

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D25688

llvm-svn: 285209
2016-10-26 16:16:58 +00:00
..
CMakeLists.txt [compiler-rt] Fix VisualStudio virtual folders layout 2016-07-11 21:51:56 +00:00
alignment.cpp
double-free.cpp
lit.cfg
lit.site.cfg.in
malloc.cpp [scudo] Fix an edge case in the secondary allocator 2016-09-30 19:57:21 +00:00
memalign.cpp [scudo] Lay the foundation for 32-bit support 2016-10-26 16:16:58 +00:00
mismatch.cpp
options.cpp [sanitizer] Implement a __asan_default_options() equivalent for Scudo 2016-08-02 22:25:38 +00:00
overflow.cpp
preinit.cpp
quarantine.cpp
random_shuffle.cpp [sanitizer] enable random shuffling the memory chunks inside the allocator, under a flag. Set this flag for the scudo allocator, add a test. 2016-08-26 00:06:03 +00:00
realloc.cpp [scudo] Fix an edge case in the secondary allocator 2016-09-30 19:57:21 +00:00
secondary.cpp [scudo] Modify Scudo to use its own Secondary Allocator 2016-09-19 21:11:55 +00:00
sized-delete.cpp
sizes.cpp