[all-commits] [llvm/llvm-project] e0c445: [Darwin][ASan][Sanitizer] Fixes Sanitizer NonUniqu...

thetruestblue via All-commits all-commits at lists.llvm.org
Wed Apr 13 21:16:26 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0c44544655d0f799831004962b1f22fece31c5e
      https://github.com/llvm/llvm-project/commit/e0c44544655d0f799831004962b1f22fece31c5e
  Author: Blue Gaston <bgaston2 at apple.com>
  Date:   2022-04-13 (Wed, 13 Apr 2022)

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

  Log Message:
  -----------
  [Darwin][ASan][Sanitizer] Fixes Sanitizer NonUnique Identifier to Account for Mac arm64 architectures.

    Current check assumes iOS as the only Apple devices running arm64.
    ```#if SANITIZER_MAC && !(defined(__arm64__) && SANITIZER_IOS)```
    Stops Apple Silicon from being flagged as requiring unique RTTI.
    This introduced unexpected behavior within the sanitizer.

    rdar://91446703

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




More information about the All-commits mailing list