diff options
| author | George Rimar <grimar@accesssoftek.com> | 2017-07-31 09:26:50 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2017-07-31 09:26:50 +0000 |
| commit | e36d7a6d68705020fe755d5b23f48dea247643cb (patch) | |
| tree | d16f09a638d398d570f7d125ece9dd3d68440c11 /llvm/lib/CodeGen/MIRPrinter.cpp | |
| parent | 7ef3a19337c69772e1f95e6be322fa27388f0f34 (diff) | |
| download | bcm5719-llvm-e36d7a6d68705020fe755d5b23f48dea247643cb.tar.gz bcm5719-llvm-e36d7a6d68705020fe755d5b23f48dea247643cb.zip | |
[Support/GlobPattern] - Do not crash when pattern has characters with int 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
Diffstat (limited to 'llvm/lib/CodeGen/MIRPrinter.cpp')
0 files changed, 0 insertions, 0 deletions

