[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
Thu Nov 3 14:45:14 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG3be864333a88: [lldb/crashlog] Add support for 32bit frame addresses (authored by mib).

Repository:
  rG LLVM Github Monorepo

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.473037.patch
Type: text/x-patch
Size: 1000 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20221103/19d276ff/attachment.bin>


More information about the lldb-commits mailing list