[all-commits] [llvm/llvm-project] 64f404: [TSan][Darwin] Fix shadow mapping for iOS simulato...

Julian Lettner via All-commits all-commits at lists.llvm.org
Fri Dec 17 16:00:04 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 64f40417259c11ffcfccd2e812dd3e2d83b86591
      https://github.com/llvm/llvm-project/commit/64f40417259c11ffcfccd2e812dd3e2d83b86591
  Author: Julian Lettner <julian.lettner at apple.com>
  Date:   2021-12-17 (Fri, 17 Dec 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform.h
    M compiler-rt/lib/tsan/rtl/tsan_platform_posix.cpp

  Log Message:
  -----------
  [TSan][Darwin] Fix shadow mapping for iOS simulator on Apple Silicon

With the introduction of Apple Silicon `defined(__aarch64__)` is not a
reliable way to check for the platform anymore.

We want to use the "normal" `Mapping48AddressSpace` mapping everywhere
except devices, including the iOS simulators on AS.

Relevant revisions:
https://reviews.llvm.org/D35147
https://reviews.llvm.org/D86377
https://reviews.llvm.org/D107743
https://reviews.llvm.org/D107888

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




More information about the All-commits mailing list