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

Nathan Sidwell via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 17 13:23:18 PST 2022


urnathan created this revision.
urnathan added reviewers: ChuanqiXu, iains, rsmith.
urnathan requested review of this revision.

Note that the mangling has changed and the demangler's learnt a new trick.  Obviously dependent upon the mangler and demangler patches.


https://reviews.llvm.org/D120084

Files:
  clang/docs/ReleaseNotes.rst


Index: clang/docs/ReleaseNotes.rst
===================================================================
--- clang/docs/ReleaseNotes.rst
+++ clang/docs/ReleaseNotes.rst
@@ -110,6 +110,13 @@
 C++20 Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 
+- The mangling scheme for modules has incompatibally 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 that. The demangler now demangles symbols with
+  named module attachment.
+
 C++2b Feature Support
 ^^^^^^^^^^^^^^^^^^^^^
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D120084.409772.patch
Type: text/x-patch
Size: 660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220217/d7a652fd/attachment.bin>


More information about the cfe-commits mailing list