diff options
author | Adrian Prantl <aprantl@apple.com> | 2019-11-07 10:50:37 -0800 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2019-11-07 10:52:06 -0800 |
commit | ff9d732887385e6f3e516769419dd64b406d81d8 (patch) | |
tree | 2f1e174486a6a0a5b82137c733516eb961187b58 /llvm/lib/Transforms/Utils/Local.cpp | |
parent | 90ecfa2f5f7feea6e3676d59fe6126e08c52d00e (diff) | |
download | bcm5719-llvm-ff9d732887385e6f3e516769419dd64b406d81d8.tar.gz bcm5719-llvm-ff9d732887385e6f3e516769419dd64b406d81d8.zip |
crashlog.py: Improve regular expressions
This is yet another change to the regular expressions in crashlog.py
that fix a few edge cases, and attempt to improve the readability
quite a bit in the process. My last change to support spaces in
filenames introduced a bug that caused the version/archspec field to
be parsed as part of the image name.
For example, in "0x1111111 - 0x22222 +MyApp Pro arm64 <01234>", the
name of the image was recognized as "MyApp Pro arm64" instead of
"MyApp Pro" with a "version" of arm64.
The bugfix makes the space following an optional field mandatory
*inside* the optional group.
rdar://problem/56883435
Differential Revision: https://reviews.llvm.org/D69871
Diffstat (limited to 'llvm/lib/Transforms/Utils/Local.cpp')
0 files changed, 0 insertions, 0 deletions