[Lldb-commits] [PATCH] D131719: [lldb/crashlog] Adapt raw text crashlog exception to json format

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 11 16:35:53 PDT 2022


kastiglione accepted this revision.
kastiglione added a comment.
This revision is now accepted and ready to land.

one typo to fix, but otherwise looks good



================
Comment at: lldb/examples/python/crashlog.py:690-691
+            self.crashlog.thread_exception_subtype = line[18:].strip()
+            if self.crashlog.exception['type']:
+                self.crashlog.exception['subtype']: self.crashlog.thread_exception_subtype
+        elif line.startswith('Exception Codes:'):
----------------
should this also be `if 'type' in self.crashlog.exception`?

typo, should be ` = ` instead of `: `


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131719/new/

https://reviews.llvm.org/D131719



More information about the lldb-commits mailing list