[PATCH] D26284: Add [<chars>] to the glob matcher to eliminate use of llvm::Regex.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 3 10:13:38 PDT 2016


ruiu created this revision.
ruiu added a reviewer: evgeny777.
ruiu added a subscriber: llvm-commits.

Previously, it didn't support the character class, so we couldn't
eliminate the use fo llvm::Regex. Now that it is supported, we
can remove compileGlobPattern, which converts a glob pattern to
a regex.

This patch contains optimization for exact/prefix/suffix matches.


https://reviews.llvm.org/D26284

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/Strings.cpp
  ELF/Strings.h
  ELF/SymbolTable.cpp
  ELF/SymbolTable.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26284.76870.patch
Type: text/x-patch
Size: 14391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161103/fe2be25c/attachment.bin>


More information about the llvm-commits mailing list