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 D35891
[Support/GlobPattern] - Do not crash when pattern has characters with int value < 0. grimar on Jul 26 2017, 8:06 AM. Authored by
Details Found it during work on LLD, it would crash on following SECTIONS { .foo : { *("*®") } } That happens because ® has int value -82. And chars are used as
Diff Detail Event Timeline
|
Add these line before this line to remove all these casts.