Commit acdd36e
authored
[ItaniumDemangle] reject A-F in FP literals (#82864)
The Itanium C++ ABI specifies that FP literals are encoded using a
lowercase hexadecimal string. Previously, libc++abi allowed uppercase
A-F characters but decoded them by subtracting 'a' from them, producing
negative digit values. It is especially confusing to accept an 'E' digit
because 'E' marks the end of the FP literal.1 parent 99335a6 commit acdd36e
File tree
2 files changed
+5
-4
lines changed- libcxxabi
- src/demangle
- test
2 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5541 | 5541 | | |
5542 | 5542 | | |
5543 | 5543 | | |
5544 | | - | |
| 5544 | + | |
5545 | 5545 | | |
5546 | 5546 | | |
5547 | 5547 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30222 | 30222 | | |
30223 | 30223 | | |
30224 | 30224 | | |
30225 | | - | |
30226 | | - | |
30227 | | - | |
| 30225 | + | |
| 30226 | + | |
30228 | 30227 | | |
30229 | 30228 | | |
30230 | 30229 | | |
| |||
30238 | 30237 | | |
30239 | 30238 | | |
30240 | 30239 | | |
| 30240 | + | |
| 30241 | + | |
30241 | 30242 | | |
30242 | 30243 | | |
30243 | 30244 | | |
| |||
0 commit comments