HomeFreeBSD

Don't instrument the rdtsc ifunc when building with ASAN/UBSAN

Description

Don't instrument the rdtsc ifunc when building with ASAN/UBSAN

The ifunc resolver is called before the sanitizer runtime is initialized,
so any instrumentation results in an immediate crash.

Reviewed By: kib
Differential Revision: https://reviews.freebsd.org/D31046

Details

Provenance
arichardsonAuthored on Aug 2 2021, 8:51 AM
Reviewer
kib
Differential Revision
D31046: Don't instrument the rdtsc ifunc when building with ASAN/UBSAN
Parents
rG5e9226f063bc: Fix build of stand/ when building world with ASAN
Branches
Unknown
Tags
Unknown