Page MenuHomeFreeBSD

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

Authored by markj on Jul 26 2021, 10:27 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 26 2024, 10:23 AM
Unknown Object (File)
Feb 17 2024, 10:22 AM
Unknown Object (File)
Feb 17 2024, 10:22 AM
Unknown Object (File)
Feb 17 2024, 10:22 AM
Unknown Object (File)
Feb 17 2024, 10:20 AM
Unknown Object (File)
Jan 20 2024, 4:59 PM
Unknown Object (File)
Jan 9 2024, 5:18 AM
Unknown Object (File)
Dec 12 2023, 7:05 PM
Subscribers

Details

Summary

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.

I would like to have this available in the 13.0 package sets, which I believe means
that the change would need to be merged to a quarterly branch, but again I'm
not certain about whether this would be appropriate.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markj added a reviewer: brooks.

This seems reasonable. I'll commit with a PORTREVISION bump. I'll try to look into doing a merge to quarterly (I'd been thinking of just doing a full sync up to 12.0.1).

This revision is now accepted and ready to land.Jul 30 2021, 6:02 PM