mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-13 10:42:05 +00:00
<rdar://problem/12087275>
Make the crashlog parser able to deal with spaces in the process name. llvm-svn: 161772
This commit is contained in:
parent
81a78ad59c
commit
45b673dad5
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user