[all-commits] [llvm/llvm-project] 8eea47: [ItaniumDemangle] reject A-F in FP literals (#83061)
Ryan Prichard via All-commits
all-commits at lists.llvm.org
Tue Feb 27 22:34:19 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8eea478f57e79b6fad065d023355907bc2098206
https://github.com/llvm/llvm-project/commit/8eea478f57e79b6fad065d023355907bc2098206
Author: Ryan Prichard <rprichard at google.com>
Date: 2024-02-27 (Tue, 27 Feb 2024)
Changed paths:
M llvm/include/llvm/Demangle/ItaniumDemangle.h
Log Message:
-----------
[ItaniumDemangle] reject A-F in FP literals (#83061)
Sync this change to the copy of ItaniumDemangle.h in "llvm":
https://github.com/llvm/llvm-project/pull/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