[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux...
authorKostya Serebryany <kcc@google.com>
Fri, 7 Dec 2012 11:27:24 +0000 (11:27 +0000)
committerKostya Serebryany <kcc@google.com>
Fri, 7 Dec 2012 11:27:24 +0000 (11:27 +0000)
commit35f9e5e87b2d88f290ce75815909e145dd7d74db
treed8fa49a3516d1ad4bc91e78cd48921462b5bcc51
parent5d2d761ad695783bb9931cdffd99279d59aa0195
[sanitizer] implement SanitizerSetThreadName/SanitizerGetThreadName. Just for linux so far (using prctl(PR_GET_NAME))

llvm-svn: 169598
compiler-rt/lib/sanitizer_common/sanitizer_common.h
compiler-rt/lib/sanitizer_common/sanitizer_linux.cc
compiler-rt/lib/sanitizer_common/tests/sanitizer_common_test.cc