[clang] [clang] Correct Microsoft mangling of lifetime extended temporary objects. (PR #85529)
Tom Honermann via cfe-commits
cfe-commits at lists.llvm.org
Mon Mar 25 09:22:14 PDT 2024
================
@@ -54,6 +54,12 @@ ABI Changes in This Version
inline member function that contains a static local variable with a dynamic
initializer is declared with ``__declspec(dllimport)``. (#GH83616).
+- Fixed Microsoft name mangling of lifetime extended temporary objects. This
+ change corrects missing back reference registrations that could result in
+ incorrect back reference indexes and suprising demangled name results. Since
+ MSVC uses a different mangling for these objects, compatibility is not affected.
+ (#GH85423).
----------------
tahonermann wrote:
A new issue to address the inconsistent use of the `$S<discriminator>` mangling (as well as an additional issue with mangling of anonymous unions) has been filed as #86525.
https://github.com/llvm/llvm-project/pull/85529
More information about the cfe-commits
mailing list