[Lldb-commits] [PATCH] D157851: [lldb/crashlog] Add support for Last Exception Backtrace

Alex Langford via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 15 13:03:01 PDT 2023


bulbazord added inline comments.


================
Comment at: lldb/examples/python/crashlog.py:800-806
+        thread = self.crashlog.Thread(
+            len(self.crashlog.threads), True, self.crashlog.process_arch
+        )
+        thread.queue = "Application Specific Backtrace"
+        for backtrace in json_app_specific_bts:
             if self.parse_asi_backtrace(thread, backtrace):
                 self.crashlog.threads.append(thread)
----------------
Conceptually it looks like this is creating a new thread and adding it over and over to the crashlog list of threads? How does this work?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D157851



More information about the lldb-commits mailing list