Home
last modified time | relevance | path

Searched refs:max_vm (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_platform_mac.cpp228 uptr max_vm = GetMaxUserVirtualAddress() + 1; in InitializePlatformEarly() local
229 if (max_vm != HiAppMemEnd()) { in InitializePlatformEarly()
231 (void *)max_vm, (void *)HiAppMemEnd()); in InitializePlatformEarly()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_mac.cpp1153 static uptr max_vm = GetTaskInfoMaxAddress(); in GetMaxUserVirtualAddress() local
1154 if (max_vm != 0) { in GetMaxUserVirtualAddress()
1155 const uptr ret_value = max_vm - 1; in GetMaxUserVirtualAddress()
1175 constexpr uptr max_vm = (1ULL << 47) - 1; // 0x00007fffffffffffUL; in GetMaxUserVirtualAddress() local
1178 constexpr uptr max_vm = (1ULL << 32) - 1; // 0xffffffff; in GetMaxUserVirtualAddress()
1180 static_assert(max_vm <= SANITIZER_MMAP_RANGE_SIZE, in GetMaxUserVirtualAddress()
1182 return max_vm; in GetMaxUserVirtualAddress()