Skip to content

[RemoteMirrors] Fix the computation of the section start address in readMachOSections #19919

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 1 commit into from
Oct 17, 2018

Conversation

mikeash
Copy link
Contributor

@mikeash mikeash commented Oct 16, 2018

rdar://problem/45271231

@mikeash mikeash requested a review from dcci October 16, 2018 21:17
@mikeash
Copy link
Contributor Author

mikeash commented Oct 16, 2018

@swift-ci please test

Copy link
Member

@dcci dcci left a comment

Choose a reason for hiding this comment

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

How hard is to add a test that exercises this behavior?

Copy link
Member

@dcci dcci left a comment

Choose a reason for hiding this comment

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

I studied this change carefully and I think it's correct, but we really need to consider adding a testcase for it, otherwise it will bitrot. The original change which replaced the reader was supposedly NFC, which indicates we should increase coverage for this codepath.

@dcci dcci merged commit 9a4d2a3 into swiftlang:master Oct 17, 2018
@mikeash
Copy link
Contributor Author

mikeash commented Oct 17, 2018

I'm 800% agreed that it needs a test case. I'll see if I can figure one out.

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