diff options
author | Jordan Rupprecht <rupprecht@google.com> | 2019-10-16 22:31:16 +0000 |
---|---|---|
committer | Jordan Rupprecht <rupprecht@google.com> | 2019-10-16 22:31:16 +0000 |
commit | a409afaad64ce83ea44cc30ee5f96b6e613a6e98 (patch) | |
tree | 653337f74903f52efe4437a91c9fd690601dc971 /lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py | |
parent | 4eb1a573fab3b2257e966c97a06d15159ecac922 (diff) | |
download | bcm5719-llvm-a409afaad64ce83ea44cc30ee5f96b6e613a6e98.tar.gz bcm5719-llvm-a409afaad64ce83ea44cc30ee5f96b6e613a6e98.zip |
[support] GlobPattern: add support for `\` and `[!...]`, and allow `]` in more places
Summary: Update GlobPattern in libSupport to handle a few more cases. It does not fully match the `fnmatch` used by GNU objcopy since named character classes (e.g. `[[:digit:]]`) are not supported, but this should support most existing use cases (mostly just `*` is what's used anyway).
This will be used to implement the `--wildcard` flag in llvm-objcopy to be more compatible with GNU objcopy.
This is split off of D66613 to land the libSupport changes separately. The llvm-objcopy part will land soon.
Reviewers: jhenderson, MaskRay, evgeny777, espindola, alexshap
Reviewed By: MaskRay
Subscribers: nickdesaulniers, emaste, arichardson, hiraditya, jakehehrlich, abrachet, seiya, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D66613
undo objcopy changes to make this libsupport only
llvm-svn: 375051
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/interpreter/TestCommandInterpreterAPI.py')
0 files changed, 0 insertions, 0 deletions