[all-commits] [llvm/llvm-project] f276c0: [sanitizer] Restrict querying VM size on Darwin on...

Kuba (Brecka) Mracek via All-commits all-commits at lists.llvm.org
Mon Dec 14 10:50:10 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f276c008984dd02bb54707b2ace858cac5412e7e
      https://github.com/llvm/llvm-project/commit/f276c008984dd02bb54707b2ace858cac5412e7e
  Author: Kuba Mracek <mracek at apple.com>
  Date:   2020-12-14 (Mon, 14 Dec 2020)

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

  Log Message:
  -----------
  [sanitizer] Restrict querying VM size on Darwin only to iOS devices

We currently do this for SANITIZER_IOS, which includes devices *and* simulators. This change opts out the check for simulators to unify the behavior with macOS, because VM size is really a property of the host OS, and not the simulator.

<rdar://problem/72129387>

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




More information about the All-commits mailing list