diff options
author | Jason Molenda <jmolenda@apple.com> | 2014-03-08 01:34:55 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2014-03-08 01:34:55 +0000 |
commit | ac605f4a3aa01619c17a9b1d96abdab86315b0c0 (patch) | |
tree | 7706b1bd9c9c72d3bdf113d946de11d53ab6521a /lldb/source/API/SBThread.cpp | |
parent | f528f054d081addb0d383020445a703f7371da85 (diff) | |
download | bcm5719-llvm-ac605f4a3aa01619c17a9b1d96abdab86315b0c0.tar.gz bcm5719-llvm-ac605f4a3aa01619c17a9b1d96abdab86315b0c0.zip |
Add API logging to the SBQueue/SBQueueItem/SBThread calls.
llvm-svn: 203330
Diffstat (limited to 'lldb/source/API/SBThread.cpp')
-rw-r--r-- | lldb/source/API/SBThread.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/source/API/SBThread.cpp b/lldb/source/API/SBThread.cpp index 4170d5b230b..66f9df3b13c 100644 --- a/lldb/source/API/SBThread.cpp +++ b/lldb/source/API/SBThread.cpp @@ -1330,6 +1330,10 @@ SBThread::GetExtendedBacktraceThread (const char *type) } } + if (log && sb_origin_thread.IsValid() == false) + { + log->Printf("SBThread(%p)::GetExtendedBacktraceThread() is not returning a Valid thread", exe_ctx.GetThreadPtr()); + } return sb_origin_thread; } |