Skip to content

Commit 482fad4

Browse files
committed
[clang][DOC] Document module mangler changes
Note that the mangling has changed and the demangler's learnt a new trick. Obviously dependent upon the mangler and demangler patches. Reviewed By: bruno Differential Revision: https://reviews.llvm.org/D123141
1 parent 28cb908 commit 482fad4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,13 @@ C++20 Feature Support
201201

202202
- Implemented `__builtin_source_location()` which enables library support for std::source_location.
203203

204+
- The mangling scheme for C++20 modules has incompatibly changed. The
205+
initial mangling was discovered not to be reversible, and the weak
206+
ownership design decision did not give the backwards compatibility
207+
that was hoped for. C++20 since added ``extern "C++"`` semantics
208+
that can be used for such compatibility. The demangler now demangles
209+
symbols with named module attachment.
210+
204211
C++2b Feature Support
205212
^^^^^^^^^^^^^^^^^^^^^
206213

0 commit comments

Comments
 (0)