[all-commits] [llvm/llvm-project] 7d2cc8: [compiler-rt][sanitizers] build ubsan, asan etc li...

Nico Weber via All-commits all-commits at lists.llvm.org
Wed Apr 20 06:22:42 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d2cc882d5e0f0afe595a2cfe18eb29506341cd3
  Author: Nico Weber <thakis at chromium.org>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

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

  Log Message:
  [compiler-rt][sanitizers] build ubsan, asan etc libraries with Mac Catalyst support

Like D118875, but for ubsan, asan, etc.

With this, I can successfully run:

    bin/clang++ -target x86_64-apple-ios14.0-macabi foo.cc \
        -isysroot $(xcrun -show-sdk-path) -fsanitize=undefined

with a locally built libclang_rt.ubsan_osx_dynamic.dylib.

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

More information about the All-commits mailing list