diff options
author | Jason Molenda <jmolenda@apple.com> | 2012-08-31 23:27:24 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2012-08-31 23:27:24 +0000 |
commit | d204afaee81ca4f9b4a1ee98d39ad49721999cb2 (patch) | |
tree | 6478a46f1b712d608db96d61227defe39f1ac892 /lldb/examples/python/crashlog.py | |
parent | 26c5d0f60709cf82bdc7b762fa7a9edb8f960c55 (diff) | |
download | llvm-d204afaee81ca4f9b4a1ee98d39ad49721999cb2.zip llvm-d204afaee81ca4f9b4a1ee98d39ad49721999cb2.tar.gz llvm-d204afaee81ca4f9b4a1ee98d39ad49721999cb2.tar.bz2 |
Make the tab character in the thread frame lines optional.
llvm-svn: 163037
Diffstat (limited to 'lldb/examples/python/crashlog.py')
-rwxr-xr-x | lldb/examples/python/crashlog.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/examples/python/crashlog.py b/lldb/examples/python/crashlog.py index 752700f..ceee0c6 100755 --- a/lldb/examples/python/crashlog.py +++ b/lldb/examples/python/crashlog.py @@ -54,7 +54,7 @@ class CrashLog(symbolication.Symbolicator): """Class that does parses darwin crash logs""" thread_state_regex = re.compile('^Thread ([0-9]+) crashed with') thread_regex = re.compile('^Thread ([0-9]+)([^:]*):(.*)') - frame_regex = re.compile('^([0-9]+) +([^ ]+) *\t(0x[0-9a-fA-F]+) +(.*)') + frame_regex = re.compile('^([0-9]+) +([^ ]+) *\t?(0x[0-9a-fA-F]+) +(.*)') image_regex_uuid = re.compile('(0x[0-9a-fA-F]+)[- ]+(0x[0-9a-fA-F]+) +[+]?([^ ]+) +([^<]+)<([-0-9a-fA-F]+)> (.*)'); image_regex_no_uuid = re.compile('(0x[0-9a-fA-F]+)[- ]+(0x[0-9a-fA-F]+) +[+]?([^ ]+) +([^/]+)/(.*)'); empty_line_regex = re.compile('^$') |