[ASan] Don't crash in DescribeHeapAddress if we don't know the current thread's ID
commit997454a41a1658837d72d69ec7def59616311243
authorTimur Iskhodzhanov <timurrrr@google.com>
Tue, 10 Sep 2013 08:36:21 +0000 (10 08:36 +0000)
committerTimur Iskhodzhanov <timurrrr@google.com>
Tue, 10 Sep 2013 08:36:21 +0000 (10 08:36 +0000)
tree06024914d18a0d1a11c118aec92760146202bd98
parenta09507c38cf9dd9119e5aa9bd6d91383514f857b
[ASan] Don't crash in DescribeHeapAddress if we don't know the current thread's ID

Also make DescribeThread easier to use.
This was firing on Dr.ASan runs, not sure how to repro InvalidTID in a simple test.

git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190392 91177308-0d34-0410-b5e6-96231b3b80d8
lib/asan/asan_report.cc