Fix the ThreadSanitizer support to avoid creating empty SBThreads and to not crash...
authorKuba Brecka <kuba.brecka@gmail.com>
Wed, 30 Mar 2016 10:50:24 +0000 (10:50 +0000)
committerKuba Brecka <kuba.brecka@gmail.com>
Wed, 30 Mar 2016 10:50:24 +0000 (10:50 +0000)
commit058c302e0a868eb666910d46b891004b793cc84d
tree83311ec296e38d8a29287767ce146365b07eb7aa
parent587e1de4ea2af5a01f5d53647201c974a8fea1f2
Fix the ThreadSanitizer support to avoid creating empty SBThreads and to not crash when thread_id is unavailable.  Plus a whitespace fix.

llvm-svn: 264854
lldb/source/API/SBThread.cpp
lldb/source/Plugins/InstrumentationRuntime/ThreadSanitizer/ThreadSanitizerRuntime.cpp