[all-commits] [llvm/llvm-project] 6ae7fc: [compiler-rt] check max address from kernel is <= ...

Emily Shi via All-commits all-commits at lists.llvm.org
Wed Apr 21 12:03:12 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ae7fc0a299c40c68b41b113561df03aa814412d
      https://github.com/llvm/llvm-project/commit/6ae7fc0a299c40c68b41b113561df03aa814412d
  Author: Emily Shi <code at emi.sh>
  Date:   2021-04-21 (Wed, 21 Apr 2021)

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp

  Log Message:
  -----------
  [compiler-rt] check max address from kernel is <= mmap range size

If these sizes do not match, asan will not work as expected. Previously, we added compile-time checks for non-iOS platforms. We check at run time for iOS because we get the max VM size from the kernel at run time.

rdar://76477969

Reviewed By: delcypher

Differential Revision: https://reviews.llvm.org/D100784




More information about the All-commits mailing list