[Lldb-commits] [PATCH] D135310: [lldb/crashlog] Add support for 32bit frame addresses

Med Ismail Bennani via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Oct 5 13:12:39 PDT 2022


mib updated this revision to Diff 465522.

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

https://reviews.llvm.org/D135310

Files:
  lldb/examples/python/crashlog.py


Index: lldb/examples/python/crashlog.py
===================================================================
--- lldb/examples/python/crashlog.py
+++ lldb/examples/python/crashlog.py
@@ -613,10 +613,10 @@
     frame_regex = re.compile(r'^(\d+)\s+'              # id
                              r'(.+?)\s+'               # img_name
                              r'(?:' +version+ r'\s+)?' # img_version
-                             r'(0x[0-9a-fA-F]{7,})'    # addr (7 chars or more)
+                             r'(0x[0-9a-fA-F]{4,})'    # addr (4 chars or more)
                              r' +(.*)'                 # offs
                             )
-    null_frame_regex = re.compile(r'^\d+\s+\?\?\?\s+0{7,} +')
+    null_frame_regex = re.compile(r'^\d+\s+\?\?\?\s+0{4,} +')
     image_regex_uuid = re.compile(r'(0x[0-9a-fA-F]+)'          # img_lo
                                   r'\s+-\s+'                   #   -
                                   r'(0x[0-9a-fA-F]+)\s+'       # img_hi


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135310.465522.patch
Type: text/x-patch
Size: 1000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221005/c4f21db8/attachment.bin>


More information about the lldb-commits mailing list