Skip to content

[Test] Fix Profile-arm64.ContinuousSyncMode.darwin-proof-of-concept.c #9702

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

Conversation

cachemeifyoucan
Copy link

rdar://138555312

jroelofs and others added 2 commits December 6, 2024 10:20
llvm#100469)

…greater than the maximum for a segment

This test was failing with:
```
--
Exit Code: 1

Command Output (stderr):
--
ld: warning: reducing alignment of section __DATA,__pcnts from 0x4000 to 0x1000 because it exceeds segment maximum alignment ld: warning: reducing alignment of section __DATA,__pdata from 0x4000 to 0x1000 because it exceeds segment maximum alignment __pdata not ordered after __pcnts.

--
```

(cherry picked from commit 99bb9a7)
Fix profile/darwin-proof-of-concept.c on AppleSilicon Mac where there is
a different page alignment. The previous fix to drop alignment is
actually breaking the tests on Apple Silicon Mac. Revert to the original
section alignment and requires an ARM64 target for this test to run.

(cherry picked from commit d2a8351)
@cachemeifyoucan cachemeifyoucan requested a review from a team as a code owner December 6, 2024 18:25
@cachemeifyoucan
Copy link
Author

@swift-ci please test

@nkcsgexi nkcsgexi merged commit 2dcf631 into swiftlang:swift/release/6.1 Dec 9, 2024
3 checks passed
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