tsan: don't crash with NULL deref during reporting
authorDmitry Vyukov <dvyukov@google.com>
Thu, 18 Dec 2014 10:19:32 +0000 (10:19 +0000)
committerDmitry Vyukov <dvyukov@google.com>
Thu, 18 Dec 2014 10:19:32 +0000 (10:19 +0000)
commite1881269f8cdcb89f4862bc428f9f4bfb633068b
tree204b142150d40b8299a7831270a2b45e639eea8b
parenta4cd69217bc54ec091c39bcdf0eb3852f78ee1ce
tsan: don't crash with NULL deref during reporting

tctx==NULL crash observed during deadlock reporting.
There seems to be some bugs in the deadlock detector,
but it is still useful to be more robust during reporting.

llvm-svn: 224508
compiler-rt/lib/tsan/rtl/tsan_rtl_report.cc