Skip to content

Commit 24651e4

Browse files
committed
upd
Created using spr 1.3.4
1 parent 8335938 commit 24651e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_platform_interceptors.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ SANITIZER_WEAK_IMPORT void *aligned_alloc(__sanitizer::usize __alignment,
256256
(SI_FREEBSD || SI_NETBSD || SI_LINUX || SI_SOLARIS)
257257
#define SANITIZER_INTERCEPT_CLOCK_GETCPUCLOCKID \
258258
(SI_LINUX || SI_FREEBSD || SI_NETBSD)
259-
// TODO: This should be SI_POSIX, adding Linux first until I have time
259+
// TODO: This should be SI_POSIX, adding glibc first until I have time
260260
// to verify all timer_t typedefs on other platforms.
261-
#define SANITIZER_INTERCEPT_TIMER_CREATE SI_LINUX
261+
#define SANITIZER_INTERCEPT_TIMER_CREATE SI_GLIBC
262262
#define SANITIZER_INTERCEPT_GETITIMER SI_POSIX
263263
#define SANITIZER_INTERCEPT_TIME SI_POSIX
264264
#define SANITIZER_INTERCEPT_GLOB (SI_GLIBC || SI_SOLARIS)

0 commit comments

Comments
 (0)