[PATCH] D40767: Support pthread_key_create symbol alias in MSan/NetBSD
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 5 16:34:30 PST 2017
vitalybuka added inline comments.
================
Comment at: lib/msan/msan_interceptors.cc:1488
+#if SANITIZER_NETBSD
+INTERCEPTOR(void, __libc_thr_keycreate, void *m, void (*dtor)(void *value)) \
+ ALIAS(WRAPPER_NAME(pthread_key_create));
----------------
NetBSD header contains following:
#define pthread_key_create __libc_thr_keycreate
Should you instead pthread_key_create interceptor define __libc_thr_keycreate?
Repository:
rL LLVM
https://reviews.llvm.org/D40767
More information about the llvm-commits
mailing list