[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 15:17:26 PDT 2022
kastiglione added inline comments.
================
Comment at: lldb/examples/python/crashlog.py:628
)
+ exception_type_regex = re.compile(r'^Exception Type:\s+(EXC_.*) \s*\((.*)\)')
+ exception_codes_regex = re.compile(r'^Exception Codes:\s+(0x[0-9a-fA-F]+),\s*(0x[0-9a-fA-F]+)')
----------------
consider using `EXC_[A-Z_]+` or `EXC_.*?` to not over match.
` \s*` (a space followed by `\s*`) could be replaced with `\s+`
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131719/new/
https://reviews.llvm.org/D131719
More information about the lldb-commits
mailing list