[hwasan] add a unique id to a thread and add debug prints for thread creation/destruction
authorKostya Serebryany <kcc@google.com>
Tue, 4 Sep 2018 23:26:08 +0000 (23:26 +0000)
committerKostya Serebryany <kcc@google.com>
Tue, 4 Sep 2018 23:26:08 +0000 (23:26 +0000)
commit3d8f49a6bf6eb0912e66c43a2b3fe890ca385b74
tree6bc431d200eb924b9dbb5cfb7b20e59d86cd2e84
parent63cf26cf019ccffe107b78e57f2b1417ac7a8123
[hwasan] add a unique id to a thread and add debug prints for thread creation/destruction

llvm-svn: 341428
compiler-rt/lib/hwasan/hwasan_flags.inc
compiler-rt/lib/hwasan/hwasan_thread.cc
compiler-rt/lib/hwasan/hwasan_thread.h
compiler-rt/test/hwasan/TestCases/many-threads-uaf.c