NetBSD uses indirection symbol for a set of threading functions.
Add alias to handle __libc_thr_keycreate the same way as pthread_key_create.
Sponsored by <The NetBSD Foundation>
Differential D40767
Support pthread_key_create symbol alias in MSan/NetBSD krytarowski on Dec 2 2017, 5:39 AM. Authored by
Details NetBSD uses indirection symbol for a set of threading functions. Add alias to handle __libc_thr_keycreate the same way as pthread_key_create. Sponsored by <The NetBSD Foundation>
Diff Detail
Event TimelineComment Actions While there.. is lib/sanitizer_common/sanitizer_common_syscalls.inc required for MSan?
Comment Actions Just reminding about my side question:
I will try to port it to NetBSD and see whether it helps MSan to work better. |
NetBSD header contains following:
#define pthread_key_create __libc_thr_keycreate
Should you instead pthread_key_create interceptor define __libc_thr_keycreate?