Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swift-demangle needs to be updated for Swift 5.2 #204

Closed
indragiek opened this issue Apr 1, 2020 · 2 comments · Fixed by #208
Closed

swift-demangle needs to be updated for Swift 5.2 #204

indragiek opened this issue Apr 1, 2020 · 2 comments · Fixed by #208

Comments

@indragiek
Copy link
Member

indragiek commented Apr 1, 2020

I'm seeing certain symbols that don't demangle when using symbolic.demangle.demangle_name:

>>> import symbolic
>>> symbolic.demangle.demangle_name('s29example_ios_scenarios_sources7CPUViewV4bodyQrvg7SwiftUI9TupleViewVyAE0J0PAEE7paddingyQrAE4EdgeO3SetV_12CoreGraphics7CGFloatVSgtFQOyAE4TextV_Qo__AtiEEAJyQrAN_ARtFQOyAE6HStackVyAGyAT_AE7StepperVyATGtGG_Qo_AWyAGyAE6ButtonVyATG_A4_AA17ActivityIndicatorVtGGATSgtGyXEfU_')
's29example_ios_scenarios_sources7CPUViewV4bodyQrvg7SwiftUI9TupleViewVyAE0J0PAEE7paddingyQrAE4EdgeO3SetV_12CoreGraphics7CGFloatVSgtFQOyAE4TextV_Qo__AtiEEAJyQrAN_ARtFQOyAE6HStackVyAGyAT_AE7StepperVyATGtGG_Qo_AWyAGyAE6ButtonVyATG_A4_AA17ActivityIndicatorVtGGATSgtGyXEfU_'

With xcrun swift-demangle (Xcode 11.4) this works:

$ xcrun swift-demangle -compact s29example_ios_scenarios_sources7CPUViewV4bodyQrvg7SwiftUI9TupleViewVyAE0J0PAEE7paddingyQrAE4EdgeO3SetV_12CoreGraphics7CGFloatVSgtFQOyAE4TextV_Qo__AtiEEAJyQrAN_ARtFQOyAE6HStackVyAGyAT_AE7StepperVyATGtGG_Qo_AWyAGyAE6ButtonVyATG_A4_AA17ActivityIndicatorVtGGATSgtGyXEfU_
closure #1 () -> SwiftUI.TupleView<(<<opaque return type of (extension in SwiftUI):SwiftUI.View.padding(SwiftUI.Edge.Set, CoreGraphics.CGFloat?) -> some>>.0, SwiftUI.Text, <<opaque return type of (extension in SwiftUI):SwiftUI.View.padding(SwiftUI.Edge.Set, CoreGraphics.CGFloat?) -> some>>.0, SwiftUI.HStack<SwiftUI.TupleView<(SwiftUI.Button<SwiftUI.Text>, SwiftUI.Button<SwiftUI.Text>, example_ios_scenarios_sources.ActivityIndicator)>>, SwiftUI.Text?)> in example_ios_scenarios_sources.CPUView.body.getter : some
@jan-auer
Copy link
Member

jan-auer commented Apr 6, 2020

@indragiek Thanks for the report. We'll release and deploy the fix soon, but I'll have to run some due diligence because of the change in the Python layer.

@indragiek
Copy link
Member Author

@jan-auer Thank you!

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 a pull request may close this issue.

2 participants