[CompilerRT] Remove ubsan static runtime on Apple
authorusama hameed <u_hameed@apple.com>
Wed, 11 Jan 2023 23:16:30 +0000 (15:16 -0800)
committerusama hameed <u_hameed@apple.com>
Tue, 17 Jan 2023 22:33:31 +0000 (14:33 -0800)
commita44477b1f4b5c462474c12144d5f914d04a674cb
tree9e8430bf7d5e2f28cd77bc2f92a39a5bb4844334
parentbbb73fbceb1b35cc9c3ab0c53e4e6128437f2b34
[CompilerRT] Remove ubsan static runtime on Apple

This patch removes the static ubsan runtime on Apple devices. The motivation
is to reduce the toolchain size.

rdar://102061519

Differential Revision: https://reviews.llvm.org/D141550
clang/include/clang/Basic/DiagnosticDriverKinds.td
clang/lib/Driver/ToolChains/Darwin.cpp
clang/test/Driver/sanitizer-ld.c
compiler-rt/lib/ubsan/CMakeLists.txt
compiler-rt/test/ubsan/CMakeLists.txt