-
Notifications
You must be signed in to change notification settings - Fork 10.6k
IRGen: Co-locate metadata instatiation/completions/accessor functions in a special section #61984
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: Co-locate metadata instatiation/completions/accessor functions in a special section #61984
Conversation
|
@swift-ci smoke test |
lib/IRGen/GenDecl.cpp
Outdated
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.
Do we intend to need to create a linker table for this data? The grouping ($B) is for cases where we need to order the data in between start/stop markers to allow the table computation. If so, we should probably have an associated set of changes to SwiftRT-ELF.cpp and SwiftRT-COFF.cpp.
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.
No. I just copied the string from further up the file.
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.
In that case, this should probably be named .sw5colo.
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.
👍 will do
… in a special section For spatial locality on startup. rdar://101593202
Credit to Lang Hames who identified the fix.
57a2b6a to
4718c23
Compare
|
@swift-ci test |
|
@swift-ci test |
|
@swift-ci test source compat |
1 similar comment
|
@swift-ci test source compat |
|
@swift-ci test source compat release |
For spatial locality on startup.
rdar://101593202