Skip to content

Conversation

@augusto2112
Copy link

Currently, TypeSystemSwiftTypeRef queries the ReflectionContext for type infos, and ReflectionContext context can potentially query LLDBTypeInfoProvider for any types it didn't find. LLDBTypeInfoProvider produces type infos for clang types.

This patch hooks up DWARFASTParserSwift into the existing system, by making LLDBTypeInfoProvider query it before looking up clang types. DWARFASTParserSwift is passed enough information to potentially recursively query ReflectionContext for sub type infos necessary to answer the current type info query.

Currently, TypeSystemSwiftTypeRef queries the ReflectionContext for type
infos, and ReflectionContext context can potentially query
LLDBTypeInfoProvider for any types it didn't find. LLDBTypeInfoProvider
produces type infos for clang types.

This patch hooks up DWARFASTParserSwift into the existing system, by
making LLDBTypeInfoProvider query it before looking up clang types.
DWARFASTParserSwift is passed enough information to potentially
recursively query ReflectionContext for sub type infos necessary to
answer the current type info query.
@augusto2112
Copy link
Author

@swift-ci test

@augusto2112
Copy link
Author

@swift-ci test Linux

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