Index: lib/sanitizer_common/tests/sanitizer_allocator_test.cc =================================================================== --- lib/sanitizer_common/tests/sanitizer_allocator_test.cc +++ lib/sanitizer_common/tests/sanitizer_allocator_test.cc @@ -14,6 +14,7 @@ #include "sanitizer_common/sanitizer_allocator.h" #include "sanitizer_common/sanitizer_allocator_internal.h" #include "sanitizer_common/sanitizer_common.h" +#include "sanitizer_common/sanitizer_remote_address_space_view.h" #include "sanitizer_test_utils.h" #include "sanitizer_pthread_wrappers.h" @@ -502,6 +503,11 @@ // TestMapUnmapCallback::unmap_count); } +template +using LargeMmapAllocatorASVT = + LargeMmapAllocator; + TEST(SanitizerCommon, LargeMmapAllocatorMapUnmapCallback) { TestMapUnmapCallback::map_count = 0; TestMapUnmapCallback::unmap_count = 0; @@ -620,12 +626,19 @@ a.Deallocate(&stats, p); } -template - +template