Skip to content

[lldb/API] Expose Module::IsLoadedInTarget() to SB API (NFC) #2403

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

Conversation

medismailben
Copy link

This patch adds an SBTarget::IsLoaded(const SBModule&) const endpoint
to lldb's Scripting Bridge API. As the name suggests, it will allow the
user to know if the module is loaded in a specific target.

rdar://37957625

Differential Review: https://reviews.llvm.org/D95686

Signed-off-by: Med Ismail Bennani [email protected]

@medismailben
Copy link
Author

@swift-ci test macOS Platform

This patch adds an `SBTarget::IsLoaded(const SBModule&) const` endpoint
to lldb's Scripting Bridge API. As the name suggests, it will allow the
user to know if the module is loaded in a specific target.

rdar://37957625

Differential Review: https://reviews.llvm.org/D95686

Signed-off-by: Med Ismail Bennani <[email protected]>
This patch skips the test for the SBTarget::IsLoaded method on windows
since the logic is different.

Differential Revision: https://reviews.llvm.org/D95686

Signed-off-by: Med Ismail Bennani <[email protected]>
@medismailben medismailben force-pushed the apple/stable/20210107 branch from b0a05fc to bb459f1 Compare February 1, 2021 13:40
@medismailben
Copy link
Author

@swift-ci test macOS Platform

@medismailben medismailben merged commit 17aea2d into swiftlang:apple/stable/20210107 Feb 1, 2021
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