Open
Description
Originally reported on Google Code with ID 244
The interceptor was disabled in asan in:
http://llvm.org/viewvc/llvm-project?view=revision&revision=194711
due to:
#define COMMON_INTERCEPTOR_SET_THREAD_NAME(ctx, name) SetThreadName(name)
+// Should be asanThreadRegistry().SetThreadNameByUserId(thread, name)
+// But asan does not remember UserId's for threads (pthread_t);
+// and remembers all ever existed threads, so the linear search by UserId
+// can be slow.
We need to fix the 2 issues and reenable the interceptor.
Reported by [email protected]
on 2013-11-15 07:58:34