Index: test/msan/mmap_below_shadow.cc =================================================================== --- test/msan/mmap_below_shadow.cc +++ test/msan/mmap_below_shadow.cc @@ -15,7 +15,10 @@ int main(void) { // Hint address just below shadow. -#if defined(__x86_64__) +#if defined(__FreeBSD__) && defined(__x86_64__) + uintptr_t hint = 0x0f0000000000ULL; + const uintptr_t app_start = 0x000000000000ULL; +#elif defined(__x86_64__) uintptr_t hint = 0x4f0000000000ULL; const uintptr_t app_start = 0x600000000000ULL; #elif defined (__mips64)