JDevlieghere added a comment.

Test? :-)



================
Comment at: lldb/examples/python/crashlog.py:567-570
+            frame_regex = re.compile(r'^([0-9]+)' r'\s'                # id
+                            r'+(.+?)'    r'\s+'               # img_name
+                            r'(0x[0-9a-fA-F]{7}[0-9a-fA-F]+)' # addr
+                            r' +(.*)'                         # offs
----------------
Do we have an existing regex for this from the textual parser?


================
Comment at: lldb/examples/python/crashlog.py:576
+                if not frame_match:
+                    print("error: Couldn't parse Application Specific 
Backtrace.")
+                    return False
----------------
For consistency with the other errors


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126260

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits] [PATCH]... Med Ismail Bennani via Phabricator via lldb-commits
    • [Lldb-commits] [P... Jonas Devlieghere via Phabricator via lldb-commits

Reply via email to