diff options
author | Greg Clayton <gclayton@apple.com> | 2012-08-13 18:48:03 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-08-13 18:48:03 +0000 |
commit | 45b673dad5042c7de1142183a21e3ea5b2f31497 (patch) | |
tree | 4f804199b045b18d839e3dedf3bd9fbc65a8c4c1 /lldb/examples/python/crashlog.py | |
parent | 81a78ad59c8ed20b177fd0ab078e39522b9f20e6 (diff) | |
download | llvm-45b673dad5042c7de1142183a21e3ea5b2f31497.zip llvm-45b673dad5042c7de1142183a21e3ea5b2f31497.tar.gz llvm-45b673dad5042c7de1142183a21e3ea5b2f31497.tar.bz2 |
<rdar://problem/12087275>
Make the crashlog parser able to deal with spaces in the process name.
llvm-svn: 161772
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 05b7ce3..07b87ad7 100755 --- a/lldb/examples/python/crashlog.py +++ b/lldb/examples/python/crashlog.py @@ -219,7 +219,7 @@ class CrashLog(symbolication.Symbolicator): # print 'PARSE_MODE_NORMAL' elif parse_mode == PARSE_MODE_NORMAL: if line.startswith ('Process:'): - (self.process_name, pid_with_brackets) = line[8:].strip().split() + (self.process_name, pid_with_brackets) = line[8:].strip().split(' [') self.process_id = pid_with_brackets.strip('[]') elif line.startswith ('Path:'): self.process_path = line[5:].strip() |