projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e345bc6
)
[compiler-rt] [msan] Correct the __libc_thr_keycreate prototype
author
Kamil Rytarowski
<n54@gmx.com>
Mon, 4 Nov 2019 00:10:59 +0000
(
01:10
+0100)
committer
Kamil Rytarowski
<n54@gmx.com>
Mon, 4 Nov 2019 00:10:59 +0000
(
01:10
+0100)
Fixes build with GCC8.
compiler-rt/lib/msan/msan_interceptors.cpp
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/msan/msan_interceptors.cpp
b/compiler-rt/lib/msan/msan_interceptors.cpp
index
1d9d9f7
..
1c6956e
100644
(file)
--- a/
compiler-rt/lib/msan/msan_interceptors.cpp
+++ b/
compiler-rt/lib/msan/msan_interceptors.cpp
@@
-1070,8
+1070,9
@@
INTERCEPTOR(int, pthread_key_create, __sanitizer_pthread_key_t *key,
}
#if SANITIZER_NETBSD
-INTERCEPTOR(void, __libc_thr_keycreate, void *m, void (*dtor)(void *value)) \
- ALIAS(WRAPPER_NAME(pthread_key_create));
+INTERCEPTOR(int, __libc_thr_keycreate, __sanitizer_pthread_key_t *m,
+ void (*dtor)(void *value))
+ALIAS(WRAPPER_NAME(pthread_key_create));
#endif
INTERCEPTOR(int, pthread_join, void *th, void **retval) {