[all-commits] [llvm/llvm-project] 9faca1: [compiler-rt/darwin] Disable building sanitizers o...

rohit-rao via All-commits all-commits at lists.llvm.org
Tue Mar 5 12:55:47 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9faca1e4015582534028f9a5cd14eed7063dbedd
      https://github.com/llvm/llvm-project/commit/9faca1e4015582534028f9a5cd14eed7063dbedd
  Author: rohit-rao <rohitrao at google.com>
  Date:   2024-03-05 (Tue, 05 Mar 2024)

  Changed paths:
    M compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake

  Log Message:
  -----------
  [compiler-rt/darwin] Disable building sanitizers on platforms without fork(). (#83485)

The watchOS and tvOS sanitizers do not compile with publicly-available
SDKs, failing on calls such as fork() and posix_spawn(). Updating the
darwin_test_archs test program to include a call to fork() allows cmake
to exclude those platforms when compiling runtimes. This allows public
builds to enable watchOS/tvOS and compile builtins but not sanitizers.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list