[asan] intercept prctl(PR_SET_NAME) and set the thread name. Output the thread names...
authorKostya Serebryany <kcc@google.com>
Fri, 7 Dec 2012 15:15:01 +0000 (15:15 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 7 Dec 2012 15:15:01 +0000 (15:15 +0000)
commite7108227ca3a7a2d98f07c34c263725674b83a5f
tree9c07b7e2337a01e108cce969b9fef711f9fb1b57
parent5f4ab30be06199e02aba8492eaaaad79a4460fff
[asan] intercept prctl(PR_SET_NAME) and set the thread name. Output the thread names (if non-empty) in asan reports

llvm-svn: 169601
compiler-rt/lib/asan/asan_interceptors.cc
compiler-rt/lib/asan/asan_report.cc
compiler-rt/lib/asan/asan_thread.h
compiler-rt/lib/asan/tests/asan_test.cc