[PATCH] D123141: [clang][DOC] Document module mangler changes

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 6 11:13:55 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG482fad4a3fcb: [clang][DOC] Document module mangler changes (authored by urnathan).
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123141/new/

https://reviews.llvm.org/D123141

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -201,6 +201,13 @@
 
 - Implemented `__builtin_source_location()` which enables library support for std::source_location.
 
+- The mangling scheme for C++20 modules has incompatibly changed. The
+  initial mangling was discovered not to be reversible, and the weak
+  ownership design decision did not give the backwards compatibility
+  that was hoped for. C++20 since added ``extern "C++"`` semantics
+  that can be used for such compatibility. The demangler now demangles
+  symbols with named module attachment.
+
 C++2b Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123141.420951.patch
Type: text/x-patch
Size: 735 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220406/99b92d22/attachment.bin>


More information about the cfe-commits mailing list