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
GitHub <noreply@github.com>Committed on Jun 26 2021, 5:28 AM
Parents
rG5e2c8338bf17: Help compiller optimize out abd_verify()
Branches
Unknown
Tags
Unknown