Skip to content

Conversation

adrian-prantl
Copy link
Contributor

@adrian-prantl adrian-prantl commented Aug 17, 2019

There is a bit of a problem with this in the current form. LLDB knows about submodules and would really like to have a fully qualified module::submodule::type decl context for the lookup. I may need to add a variant of LLDB's FindTypes that returns each type with its declContext so I can filter the results after the search instead.

@adrian-prantl
Copy link
Contributor Author

test with apple/swift-lldb#1899

@jrose-apple
Copy link
Contributor

LLDB might know about submodules, but Swift doesn't; it considers them to be the same as the top-level module for filtering purposes.

@adrian-prantl
Copy link
Contributor Author

test with apple/swift-lldb#1899
@swift-ci smoke test

@adrian-prantl
Copy link
Contributor Author

I made a note (rdar://problem/54471165) to extend LLDB to allow searching for types in any submodule of a give top-level module.

@adrian-prantl
Copy link
Contributor Author

Looks like I forgot to amend my commit before pushing.

@adrian-prantl
Copy link
Contributor Author

test with apple/swift-lldb#1899
@swift-ci smoke test

1 similar comment
@adrian-prantl
Copy link
Contributor Author

test with apple/swift-lldb#1899
@swift-ci smoke test

@adrian-prantl
Copy link
Contributor Author

test with apple/swift-lldb#1899
@swift-ci smoke test

@adrian-prantl adrian-prantl merged commit 793dbed into swiftlang:master Aug 21, 2019
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.

2 participants