[all-commits] [llvm/llvm-project] 176a6e: [asan] Use dynamic shadow memory position on Apple...

Kuba (Brecka) Mracek via All-commits all-commits at lists.llvm.org
Fri Jul 17 17:40:50 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 176a6e7abe33d58a65ce9cfac15fe320962e7b6e
      https://github.com/llvm/llvm-project/commit/176a6e7abe33d58a65ce9cfac15fe320962e7b6e
  Author: Kuba Mracek <mracek at apple.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M compiler-rt/lib/asan/asan_mapping.h
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
    M llvm/test/Instrumentation/AddressSanitizer/dynamic-shadow-darwin.ll

  Log Message:
  -----------
  [asan] Use dynamic shadow memory position on Apple Silicon macOS

This is needed because macOS on Apple Silicon has some reserved pages inside the "regular" shadow memory location, and mapping over that location fails.

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




More information about the All-commits mailing list