-
Notifications
You must be signed in to change notification settings - Fork 354
[LLDB] Support importing modules from llvmcas:// URLs #12025
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
base: swift/release/6.3
Are you sure you want to change the base?
[LLDB] Support importing modules from llvmcas:// URLs #12025
Conversation
|
@swift-ci test |
cachemeifyoucan
left a comment
There was a problem hiding this 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.
eeee46d to
b4ee158
Compare
Found it :-) |
lldb/source/Plugins/TypeSystem/Swift/LLDBExplicitModuleLoader.h
Outdated
Show resolved
Hide resolved
lldb/source/Plugins/TypeSystem/Swift/LLDBExplicitModuleLoader.cpp
Outdated
Show resolved
Hide resolved
b06a198 to
3231ef3
Compare
|
@swift-ci test |
3231ef3 to
c5867f1
Compare
|
@swift-ci test |
cachemeifyoucan
left a comment
There was a problem hiding this 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.
5ee8c59 to
83c99d0
Compare
|
@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
83c99d0 to
572034f
Compare
|
@swift-ci test |
cachemeifyoucan
left a comment
There was a problem hiding this 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.
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