HomeFreeBSD

devel/llvm12: Add patches to enable kernel sanitizers on FreeBSD

Description

devel/llvm12: Add patches to enable kernel sanitizers on FreeBSD

I use CROSS_TOOLCHAIN quite frequently, but can't do so when building
kernels with KASAN or KMSAN enabled since these patches didn't make it
into LLVM 12. This diff just backports them to the port. I believe this
is low-risk and thus is acceptable for the port, as opposed to waiting
for LLVM 13.

Differential Revision: https://reviews.freebsd.org/D31316

(cherry picked from commit f8617a24662331dd03d72d4bc36a0238ec54d119)

Details

Provenance
markjAuthored on Aug 11 2021, 8:01 PM
brooksCommitted on Aug 11 2021, 8:01 PM
Differential Revision
D31316: devel/llvm12: Add patches to enable kernel sanitizers on FreeBSD
Parents
R11:4bb3c89d4f9f: devel/llvm12: Update to 12.0.1 release
Branches
Unknown
Tags
Unknown