Move GlobPattern class from LLD to llvm/Support.
authorRui Ueyama <ruiu@google.com>
Tue, 20 Dec 2016 23:09:09 +0000 (23:09 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 20 Dec 2016 23:09:09 +0000 (23:09 +0000)
commitf7a7ab59af582e121f7cfeaa84c75c344e437303
tree9aaa7434d717eec25d389fb94eb1107d8d17df3c
parente909a6ed355e50bf558d920176a9a81ae07b779b
Move GlobPattern class from LLD to llvm/Support.

GlobPattern is a class to handle glob pattern matching. Currently
only LLD is using that, but technically that feature is not specific
to linkers, so in this patch I move that file to LLVM.

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

llvm-svn: 290212
lld/ELF/Strings.cpp
lld/ELF/Strings.h
llvm/include/llvm/Support/GlobPattern.h [new file with mode: 0644]
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/GlobPattern.cpp [new file with mode: 0644]
llvm/unittests/Support/CMakeLists.txt
llvm/unittests/Support/GlobPatternTest.cpp [new file with mode: 0644]