summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/GlobPattern.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [Support/GlobPattern] - Do not crash when pattern has characters with int ↵George Rimar2017-07-311-7/+10
| | | | | | | | | | | | | | | value < 0. Found it during work on LLD, it would crash on following linker script: SECTIONS { .foo : { *("*®") } } That happens because ® has int value -82. And chars are used as array index in code, and are signed by default. Differential revision: https://reviews.llvm.org/D35891 llvm-svn: 309549
* Move GlobPattern class from LLD to llvm/Support.Rui Ueyama2016-12-201-0/+167
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
OpenPOWER on IntegriCloud