-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[5.3] [IRGen] Add main() to __swift5_entry. #33269
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
[5.3] [IRGen] Add main() to __swift5_entry. #33269
Conversation
@swift-ci please test |
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
68d2c14
to
43a2929
Compare
@swift-ci please test |
1 similar comment
@swift-ci please test |
@swift-ci please test windows |
1 similar comment
@swift-ci please test windows |
Build failed |
Build failed |
@swift-ci please clean test macos |
Build failed |
@swift-ci please test |
4c72fad
to
ec8873e
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.PR against master: #33246
rdar://problem/66402358