Skip to content

Conversation

@adrian-prantl
Copy link

This patch creates a wrapper LLDB Swft module loader that owns both an ESML (explicit Swift module loader) and a CAS explicit module loader, dispatches module discovery calls to both, and tries to find each module in the CAS first, before trying the ESML.

rdar://166576110

@adrian-prantl adrian-prantl requested a review from a team as a code owner December 18, 2025 01:45
@adrian-prantl
Copy link
Author

@swift-ci test

Copy link

@cachemeifyoucan cachemeifyoucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems there is an assertion in test case of unhandled error. I can't seem to spot it but you might want to fix it.

@adrian-prantl adrian-prantl force-pushed the 166576110 branch 2 times, most recently from eeee46d to b4ee158 Compare December 18, 2025 18:44
@adrian-prantl adrian-prantl changed the title [DRAFT] [LLDB] Support importing modules from llvmcas:// URLs [LLDB] Support importing modules from llvmcas:// URLs Dec 18, 2025
@adrian-prantl
Copy link
Author

It seems there is an assertion in test case of unhandled error. I can't seem to spot it but you might want to fix it.

Found it :-)

@adrian-prantl adrian-prantl force-pushed the 166576110 branch 5 times, most recently from b06a198 to 3231ef3 Compare December 19, 2025 01:35
@adrian-prantl
Copy link
Author

@swift-ci test

@adrian-prantl
Copy link
Author

@swift-ci test

Copy link

@cachemeifyoucan cachemeifyoucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly good to me. Just one comments about how to unique CASConfiguration.

@adrian-prantl adrian-prantl force-pushed the 166576110 branch 2 times, most recently from 5ee8c59 to 83c99d0 Compare December 19, 2025 21:16
@adrian-prantl
Copy link
Author

@swift-ci test

This patch creates a wrapper LLDB Swft module loader that owns both an
ESML (explicit Swift module loader) and a CAS explicit module loader,
dispatches module discovery calls to both, and tries to find each
module in the CAS first, before trying the ESML.

rdar://166576110
@adrian-prantl
Copy link
Author

@swift-ci test

Copy link

@cachemeifyoucan cachemeifyoucan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM.

Nit: For LLVM change, will be good to add unit test there.

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.

4 participants