[all-commits] [llvm/llvm-project] 039567: [Darwin] Switch to new logging api for sanitizers

Emily Shi via All-commits all-commits at lists.llvm.org
Thu Feb 4 21:05:21 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 039567b664b4e5fad2c6fac1d6f9a6345a15f2d8
      https://github.com/llvm/llvm-project/commit/039567b664b4e5fad2c6fac1d6f9a6345a15f2d8
  Author: Emily Shi <emilyshi at apple.com>
  Date:   2021-02-04 (Thu, 04 Feb 2021)

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

  Log Message:
  -----------
  [Darwin] Switch to new logging api for sanitizers

Switch to new logging api added in [[ https://developer.apple.com/documentation/os/os_log_error | macOS 10.12 ]] that is more memory safe and enables us to label the log messages in the future. Falls back to old API if ran on older OS versions.

Commited by Dan Liew on behalf of Emily Shi.

rdar://25181524

Reviewed By: delcypher, yln

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




More information about the All-commits mailing list