[PATCH] [ASan, LSan] Improve tracking of thread creation.
Sergey Matveev
earthdok at google.com
Thu Nov 27 09:38:34 PST 2014
The problem with the solution I proposed in http://llvm.org/bugs/show_bug.cgi?id=21621#c6 is that we don't know the thread's OS PID until ThreadStart() has been called. So, instead of checking whether the thread that interests us is in "created" state, LSan would have to process all "created" threads separately. That's not super complicated, but I like this solution better. At least it brings us one step closer to a unified pthread_create interceptor in ASan/MSan/TSan.
http://reviews.llvm.org/D6441
More information about the llvm-commits
mailing list