[all-commits] [llvm/llvm-project] acdd36: [ItaniumDemangle] reject A-F in FP literals (#82864)
Ryan Prichard via All-commits
all-commits at lists.llvm.org
Mon Feb 26 13:23:43 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: acdd36e677e396909f700e5dfb519d907a6b4560
https://github.com/llvm/llvm-project/commit/acdd36e677e396909f700e5dfb519d907a6b4560
Author: Ryan Prichard <rprichard at google.com>
Date: 2024-02-26 (Mon, 26 Feb 2024)
Changed paths:
M libcxxabi/src/demangle/ItaniumDemangle.h
M libcxxabi/test/test_demangle.pass.cpp
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list