Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[RISCV][sanitizer] Set SANITIZER_MMAP_RANGE_SIZE for sv57
This patch enables sanitizers for sv57 virtual memory mode. Alloctor checks whether SANITIZER_MMAP_RANGE_SIZE matches possible mmap regions: sanitizer_allocator_primary32.h:292 "((res)) <((kNumPossibleRegions))" Since SANITIZER_MMAP_RANGE_SIZE only controls "possible" mmap regions, setting it to (1 << 57) also works for sv39 and sv48.
- Loading branch information