diff options
author | Luís Marques <luismarques@lowrisc.org> | 2021-03-30 21:19:05 +0100 |
---|---|---|
committer | Luís Marques <luismarques@lowrisc.org> | 2021-03-30 21:20:37 +0100 |
commit | eb4967c8bd341b1623453bcbb67379e223a7cad7 (patch) | |
tree | 82d7c65e289ad34fbcc06475617c7612f06e405a /lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp | |
parent | ae217bf1f3277b8c14590a130ee5e63cc1664443 (diff) | |
download | llvm-eb4967c8bd341b1623453bcbb67379e223a7cad7.zip llvm-eb4967c8bd341b1623453bcbb67379e223a7cad7.tar.gz llvm-eb4967c8bd341b1623453bcbb67379e223a7cad7.tar.bz2 |
[Sanitizer][RISCV][AArch64][Android] Adjust allocator tests
On 64-bit systems with small VMAs (e.g. 39-bit) we can't use
SizeClassAllocator64 parameterized with size class maps containing a large
number of classes, as that will make the allocator region size too small
(< 2^32). Several tests were already disabled for Android because of this.
This patch provides the correct allocator configuration for RISC-V
(riscv64), generalizes the gating condition for tests that can't be enabled
for small VMA systems, and tweaks the tests that can be made compatible with
those systems to enable them.
I think the previous gating on Android should instead be AArch64+Android, so
the patch reflects that.
Differential Revision: https://reviews.llvm.org/D97234
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ThreadGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions