HomeFreeBSD

Always build the sanitizer runtimes when compiling with clang

Description

Always build the sanitizer runtimes when compiling with clang

This allows instrumenting e.g. test binaries even when compiling with an
external clang (e.g. CROSS_TOOLCHAIN=llvm11). I have some upcoming patches
that allow building the entire base system with ASan/UBSan/etc.
instrumentation and this is required in preparation for this.

Reviewed By: dim, emaste
Differential Revision: https://reviews.freebsd.org/D28532

(cherry picked from commit 7676b388adbc81a2ad46b43852cd9bc7ac7fad7e)

Details

Provenance
arichardsonAuthored on Feb 10 2021, 3:25 PM
Reviewer
dim
Differential Revision
D28532: Always build the sanitizer runtimes when compiling with clang
Parents
rG4eaec3eb5f9e: tools/build/make.py: Avoid calling brew --prefix on macOS unnecessarily
Branches
Unknown
Tags
Unknown