Skip to content

[lldb] Recursively resolve type aliases when canonicalizing types #9913

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

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

adrian-prantl
Copy link

A type alias that resolved to a type containing more type aliase can now also be handled. To safeguard against broken debug info with cyclic aliases a limit to this is also enforced.

rdar://143156979
(cherry picked from commit ef05764)

Conflicts:
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h

A type alias that resolved to a type containing more type aliase can
now also be handled. To safeguard against broken debug info with
cyclic aliases a limit to this is also enforced.

rdar://143156979
(cherry picked from commit ef05764)

 Conflicts:
	lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp
	lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h
@adrian-prantl adrian-prantl merged commit c9c5f23 into swiftlang:next Jan 29, 2025
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