Skip to content

ref(demangle): Add backward compat patch for swift demangler#981

Open
Dav1dde wants to merge 3 commits into
dav1d/swift-6.3.1from
dav1d/swift-6.3.1-compat-patch
Open

ref(demangle): Add backward compat patch for swift demangler#981
Dav1dde wants to merge 3 commits into
dav1d/swift-6.3.1from
dav1d/swift-6.3.1-compat-patch

Conversation

@Dav1dde
Copy link
Copy Markdown
Member

@Dav1dde Dav1dde commented May 18, 2026

Follow-up for the 6.3.1 upgrade in #980 restoring a removed test, which breaks with the upgrade.

With the upgrade support for MetatypeParamsRemoved was removed from the demangler, this was previously represented with a m in the mangled string. This patch skips the m marker to keep the correctly demangle the rest of the string.
This does break re-mangling of these strings, but symbolic does not expose any remangling functionality.

If this patch ever becomes a problem in the future, it may be removed, it's only required for compatibility with old compiler versions and we generally prefer staying compatible with recent compilers.

@Dav1dde Dav1dde force-pushed the dav1d/swift-6.3.1-compat-patch branch from 23a026d to 42edc33 Compare May 18, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant