[Lldb-commits] [PATCH] D111341: [lldb] Support missing threadState in JSON crashlogs

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 7 12:28:41 PDT 2021


JDevlieghere created this revision.
JDevlieghere added reviewers: jingham, aprantl.
JDevlieghere requested review of this revision.

Gracefully deal with JSON crashlogs that don't have thread state
available and print an error saying as much: "No thread state (register
information) available".

rdar://83955858


https://reviews.llvm.org/D111341

Files:
  lldb/examples/python/crashlog.py
  lldb/test/Shell/ScriptInterpreter/Python/Crashlog/Inputs/no_threadState.ips
  lldb/test/Shell/ScriptInterpreter/Python/Crashlog/no_threadState.test

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D111341.377962.patch
Type: text/x-patch
Size: 5873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20211007/502c485b/attachment.bin>


More information about the lldb-commits mailing list