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 ^^^^^^^^^^^^^^^^^^^^^
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 ^^^^^^^^^^^^^^^^^^^^^
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits