Make crashlog.py work or binaries with spaces in their names
authorAdrian Prantl <aprantl@apple.com>
Mon, 17 Dec 2018 17:26:04 +0000 (17:26 +0000)
committerAdrian Prantl <aprantl@apple.com>
Mon, 17 Dec 2018 17:26:04 +0000 (17:26 +0000)
commitf700c8b25378acf912982788340f4ab10d8a15ec
tree8d2101ca20533feb9fc924d825214491722d8bd3
parentfb5aa932b16f3c35b6e479d5005d384a68fe4f35
Make crashlog.py work or binaries with spaces in their names

This is a little dangerous since the crashlog files aren't 100%
unambiguous, but the risk is mitigated by using a non-greedy +?
pattern.

rdar://problem/38478511

Differential Revision: https://reviews.llvm.org/D55608

llvm-svn: 349367
lldb/examples/python/crashlog.py
lldb/lit/Python/crashlog.test [new file with mode: 0644]