Skip to content

[lldb] Resolve Swift-implemented Objective-C classes using Swift runtime #10548

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

Open
wants to merge 3 commits into
base: swift/release/6.2
Choose a base branch
from

Conversation

adrian-prantl
Copy link

No description provided.

if the Objective-C runtime fails.  This is a minimally invasive patch
for the swift/release/6.1 branch to fix a problem with some versions
of the Objective-C runtime. If an Objective-C class is lazy, the
Objective-C runtie may not have materialized class metadata for
it. However, if the class is actually implemented in Swift, we can
still resolve it using the Swift runtime. We should probably also add
the same logic to the Objective-C runtime, but I don't want risk
adding an inifinite recursion this late in the release.
@adrian-prantl adrian-prantl requested a review from a team as a code owner April 25, 2025 02:25
class_type_or_name, address,
value_type, local_buffer))
return true;
else

Choose a reason for hiding this comment

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

Else after return?

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