HomeFreeBSD

Fix build with KASAN

Description

Fix build with KASAN

The stock zstd code expects some helpers from ASAN if present.
This works fine in userland, but in kernel, KASAN also gets detected,
and lacks those helpers. So let's make some empty substitutes for
that case.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rich Ercolani <rincebrain@gmail.com>
Closes #12232

Details

Provenance
rincebrain_gmail.comAuthored on Jun 26 2021, 5:28 AM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jun 29 2021, 8:14 PM
Parents
rGda6c288dfc9c: Help compiller optimize out abd_verify()
Branches
Unknown
Tags
Unknown

Event Timeline