Skip to content

[Reflection] Fix failing arm64e test #41196

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

Merged
merged 2 commits into from
Feb 4, 2022

Conversation

kastiglione
Copy link
Contributor

rdar://88403538

Fixes an issue created by #41087.

@kastiglione
Copy link
Contributor Author

@swift-ci smoke test

@@ -421,7 +421,8 @@ class MetadataReader {
}
} else {
resolved = Reader->resolvePointer(RemoteAddress(remoteAddress), 0);
if (!resolved)
if (resolved.getSymbol().empty())
Copy link
Contributor

Choose a reason for hiding this comment

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

Nit: I'd add braces here. I know technically it doesn't need it, because it's still only followed by a single statement, but still.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Contributor

@al45tair al45tair left a comment

Choose a reason for hiding this comment

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

The fix seemed to work when I tried it.

@kastiglione
Copy link
Contributor Author

@swift-ci smoke test

@kastiglione kastiglione merged commit 5a5f4b0 into main Feb 4, 2022
@kastiglione kastiglione deleted the Reflection-Fix-failing-arm64e-test branch February 4, 2022 17:49
kastiglione added a commit that referenced this pull request Feb 4, 2022
[Reflection] Fix failing arm64e test

(cherry picked from commit 5a5f4b0)
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.

3 participants