[PATCH] D44035: OpenBSD pthread interceptor subset
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 15:55:06 PST 2018
vitalybuka accepted this revision.
vitalybuka added a comment.
This revision is now accepted and ready to land.
Maybe retitle to "Don't intercept pthread_attr_getschedparam and pthread_attr_getschedpolicy on OpenBSD" ?
================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:4436
+
+#if SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED
+INTERCEPTOR_PTHREAD_ATTR_GET(schedparam, struct_sched_param_sz)
----------------
You need to set SANITIZER_INTERCEPT_PTHREAD_ATTR_GET_SCHED in sanitizer_platform_interceptors.h
https://reviews.llvm.org/D44035
More information about the llvm-commits
mailing list