Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2020 22:26:10 -0600
From:      Kyle Evans <kevans@freebsd.org>
To:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Remove ftime() interceptor defs from compiler-rt/FreeBSD
Message-ID:  <CACNAnaH_LDU0CmpAbnULpr0VGJwFC8=H4DHXh9-qQ_5LfpMn%2BQ@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CACNAnaH_LDU0CmpAbnULpr0VGJwFC8=H4DHXh9-qQ_5LfpMn%2BQ>