Remove ftime() interceptor defs from compiler-rt/FreeBSD

Kyle Evans kevans at freebsd.org
Sun Nov 22 04:26:22 UTC 2020


Hi,

Can we remove the ftime() interceptor definitions that are FreeBSD
specific in compiler-rt? See:
https://people.freebsd.org/~kevans/intercept.diff -- the very act of
including sys/timeb.h adds build noise from the warning about it being
deprecated, when ftime() is apparently not even intercepted on
FreeBSD:

#define SANITIZER_INTERCEPT_FTIME \
  (!SI_FREEBSD && !SI_NETBSD && !SI_OPENBSD && SI_POSIX)

Thanks,

Kyle Evans


More information about the freebsd-toolchain mailing list