]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Always build the sanitizer runtimes when compiling with clang
authorAlex Richardson <arichardson@FreeBSD.org>
Wed, 10 Feb 2021 15:25:14 +0000 (15:25 +0000)
committerAlex Richardson <arichardson@FreeBSD.org>
Wed, 10 Feb 2021 15:25:14 +0000 (15:25 +0000)
commit7676b388adbc81a2ad46b43852cd9bc7ac7fad7e
treeff67cd69112f786c38dc8991992985a79c64f2e2
parent12ad8bdb34aa990bcc4f3faa92a6e0557385d2b2
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
lib/Makefile