Skip to content

Inclusive language: rename master object file to prelinked object file #452

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
Apr 28, 2025

Conversation

jakepetroules
Copy link
Collaborator

This renames occurrences of "master" in relation to this feature to "prelink" or "prelinked". There are 3 remaining exceptions, which is to default the GENERATE_PRELINK_OBJECT_FILE build setting to GENERATE_MASTER_OBJECT_FILE for backwards compatibility.

This renames occurrences of "master" in relation to this feature to "prelink" or "prelinked". There are 3 remaining exceptions, which is to default the GENERATE_PRELINK_OBJECT_FILE build setting to GENERATE_MASTER_OBJECT_FILE for backwards compatibility.
@jakepetroules
Copy link
Collaborator Author

@swift-ci test

"[GENERATE_MASTER_OBJECT_FILE]-name" = "Perform Single-Object Prelink";
"[GENERATE_MASTER_OBJECT_FILE]-description" = "Activating this setting will cause the object files built by a target to be prelinked using `ld -r` into a single object file, and that object file will then be linked into the final product. This is useful to force the linker to resolve symbols and link the object files into a single module before building a static library. Also, a separate set of link flags can be applied to the prelink allowing additional control over, for instance, exported symbols.";
"[GENERATE_PRELINK_OBJECT_FILE]-name" = "Perform Single-Object Prelink";
"[GENERATE_PRELINK_OBJECT_FILE]-description" = "Activating this setting will cause the object files built by a target to be prelinked using `ld -r` into a single object file, and that object file will then be linked into the final product. This is useful to force the linker to resolve symbols and link the object files into a single module before building a static library. Also, a separate set of link flags can be applied to the prelink allowing additional control over, for instance, exported symbols.";
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

"PRELINK" here rather than "PRELINKED" since there are two other build settings used for this spec which are already called "PRELINK" (see below)

@jakepetroules jakepetroules merged commit ea8d619 into main Apr 28, 2025
3 checks passed
@jakepetroules jakepetroules deleted the eng/PR-prelinked-object-file-rename branch April 28, 2025 23:06
MaxDesiatov added a commit to swiftlang/swift-package-manager that referenced this pull request Apr 29, 2025
jakepetroules added a commit that referenced this pull request Apr 30, 2025
Missed this in #452, just going it add it for now while we're merging branches around to reduce the chance of things going wrong.
jakepetroules added a commit that referenced this pull request Apr 30, 2025
Missed this in #452, just going it add it for now while we're merging branches around to reduce the chance of things going wrong.
jakepetroules added a commit that referenced this pull request Apr 30, 2025
Missed this in #452, just going it add it for now while we're merging branches around to reduce the chance of things going wrong.
jakepetroules added a commit that referenced this pull request Apr 30, 2025
Missed this in #452, just going it add it for now while we're merging branches around to reduce the chance of things going wrong.
ldaley pushed a commit to ldaley/swift-build that referenced this pull request May 13, 2025
Missed this in swiftlang#452, just going it add it for now while we're merging branches around to reduce the chance of things going wrong.
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