Fixes false leaks on thread arg, retval.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/lib/hwasan/hwasan_interceptors.cpp | ||
---|---|---|
91 | Not related to this patch. |
compiler-rt/lib/hwasan/hwasan_interceptors.cpp | ||
---|---|---|
91 | typedef unsigned long int pthread_t; which is size of pointer on posix compilers we cannot include pthread.h here, but it would be cleaner to have some our typedef for that. |
compiler-rt/lib/hwasan/hwasan_interceptors.cpp | ||
---|---|---|
91 | Got it, thanks! |
Not related to this patch.
Just wondering why we intercept pthread_join first argument as void *, the actual type is pthread_t, is there any context about this?