[all-commits] [llvm/llvm-project] 12f27f: [Darwin] Cleanup code via improved GetMacosAligned...

Julian Lettner via All-commits all-commits at lists.llvm.org
Tue Jul 28 09:48:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 12f27fc4b505da848a06b37488c5717bf9e3b85d
      https://github.com/llvm/llvm-project/commit/12f27fc4b505da848a06b37488c5717bf9e3b85d
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

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

  Log Message:
  -----------
  [Darwin] Cleanup code via improved GetMacosAlignedVersion()

Checking the OS version via `GetMacosAlignedVersion()` now works in
simulators [1].  Let's use it to simplify `DyldNeedsEnvVariable()`.

[1] 3fb0de820796cc6e322c8378713d375d9870a353

Reviewed By: delcypher

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




More information about the All-commits mailing list