feat(demangle): Import libswift demangle 6.3.1#980
Open
Dav1dde wants to merge 9 commits into
Open
Conversation
|
loewenheim
approved these changes
May 18, 2026
a01082c to
2d9e4e2
Compare
Brett-Best
reviewed
May 18, 2026
|
Test cases that can be added:
These currently fail and can be added. |
Member
Author
|
@Brett-Best thanks, added the tests and confirmed they fail on master. Marked them as 6.3 even though technically they could be 6.2 or anything in between, but that should be fine. Also found a solution to fix the breaking test in #981 with an additional patch. |
|
Thanks @Dav1dde, appreciate the quick turnaround once I landed in the right place :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: #979
Refs: #913
clang -H.There is a failing test case
$s11Supercharge2AXO7ElementPAAE8elements33_35EDDAA799FBB5B74D2F426690B0D99DLL3for2asSayqd__GSo28NSAccessibilityAttributeNamea_qd__mtSo7AXErrorVYKAcDRd__lFAC3AppC_AC6WindowCTgm5which I removed, it also fails withswift demangleon the command line. Best guess right now is, that the original symbol is now mangled differently and the old version can't be de-mangled.I will do a timeboxed investigation if we can support the old mangled string, but generally we prefer supporting more recent versions over older ones.