[all-commits] [llvm/llvm-project] 94ba3b: [compiler-rt][asan] use full vm range on apple sil...

Emily Shi via All-commits all-commits at lists.llvm.org
Mon Apr 19 12:12:51 PDT 2021


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

  Changed paths:
    M compiler-rt/lib/sanitizer_common/sanitizer_platform.h

  Log Message:
  -----------
  [compiler-rt][asan] use full vm range on apple silicon macs

We previously shrunk the mmap range size on ios, but those settings got inherited by apple silicon macs.
Don't shrink the vm range on apple silicon Mac since we have access to the full range.

Also don't shrink vm range for iOS simulators because they have the same range as the host OS, not the simulated OS.

rdar://75302812

Reviewed By: delcypher, kubamracek, yln

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




More information about the All-commits mailing list