The munmap syscall expects a page size aligned address, but the
CompactRingBuffer.int64 case expects a hard coded page size of 4KiB.
This breaks on e.g. LoongArch which defaults to a 16KiB page size:
$ ./build/runtimes/runtimes-bins/compiler-rt/lib/sanitizer_common/tests/Sanitizer-loongarch64-Test --gtest_filter=CompactRingBuffer.int64 Note: Google Test filter = CompactRingBuffer.int64 [==========] Running 1 test from 1 test suite. [----------] Global test environment set-up. [----------] 1 test from CompactRingBuffer [ RUN ] CompactRingBuffer.int64 ==1395551==ERROR: SanitizerTool failed to deallocate 0xfffffffffffff000 (-4096) bytes at address 0x7ffff2a30000 SanitizerTool: CHECK failed: sanitizer_posix.cpp:63 "(("unable to unmap" && 0)) != (0)" (0x0, 0x0) (tid=1395551)