-
Notifications
You must be signed in to change notification settings - Fork 341
[lldb] Support reconstructing types compiled with a different abi name #8605
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
[lldb] Support reconstructing types compiled with a different abi name #8605
Conversation
@swift-ci test |
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.
This is excellent, thanks! Only a couple minor nits inside.
lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp
Outdated
Show resolved
Hide resolved
@@ -4619,6 +4643,32 @@ SwiftASTContext::ReconstructType(ConstString mangled_typename) { | |||
"\" was not found"); | |||
} | |||
|
|||
llvm::Expected<swift::TypeBase *> | |||
SwiftASTContext::ReconstructType(ConstString mangled_typename) { |
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.
Unless we need a ConstString later anyway, maybe this should now take a StringRef?
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.
A lot of the helper functions used in ReconstructType take a ConstString, so I don't think that's work changing right now.
lldb/test/API/lang/swift/different_abi_name/TestSwiftDifferentABIName.py
Outdated
Show resolved
Hide resolved
lldb/test/API/lang/swift/different_abi_name/TestSwiftDifferentABIName.py
Outdated
Show resolved
Hide resolved
f9b54a0
to
058883e
Compare
@swift-ci test |
@swift-ci test Windows |
@swift-ci test windows |
@swift-ci test |
@swift-ci test windows |
Support expression evaluation for types in modules that were compiled with the -module-abi-name flag. These types have have the ABI module name serialized in debug information and the regular module name in the swift module. rdar://126719253
058883e
to
d19cadc
Compare
@swift-ci test |
@swift-ci test windows |
@swift-ci Windows |
@swift-ci test windows |
Support expression evaluation for types in modules that were compiled with the -module-abi-name flag. These types have have the ABI module name serialized in debug information and the regular module name in the swift module.
rdar://126719253