-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[IRGen] Add main() to __swift5_entry. #33246
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
[IRGen] Add main() to __swift5_entry. #33246
Conversation
@swift-ci please test |
a152626
to
63dcab6
Compare
@swift-ci please test |
Build failed |
Build failed |
249bb4a
to
bd84c07
Compare
bd84c07
to
78d8b18
Compare
@swift-ci please test |
Build failed |
Build failed |
78d8b18
to
a87890a
Compare
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.
LGTM.
@swift-ci please test |
@swift-ci please test windows |
Build failed |
Build failed |
a87890a
to
1210f4e
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please test windows |
To enable lookup of the entry point, emit a pointer to that entry point into a new section; on MachO, the __swift5_entry section of the __TEXT segment. rdar://problem/66402358
1210f4e
to
28cc144
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please test windows |
@swift-ci please test |
@swift-ci please test windows |
In swiftlang#33246 among other changes, a CHECK referring to the size of _swift1_autolink_entries was changed from a regex-based expectation to a static value. This means on platforms with different link flags, this expectation fails but does not signify any real failure. Revert back to using a regex check for the length of this constant.
In swiftlang#33246 among other changes, a CHECK referring to the size of _swift1_autolink_entries was changed from a regex-based expectation to a static value. This means on platforms with different link flags, this expectation fails but does not signify any real failure. Revert back to using a regex check for the length of this constant.
To enable lookup of the entry point, emit a pointer to that entry point into a new section; on MachO, the __swift5_entry section of the
__TEXT
segment.rdar://problem/66402358