Skip to content

Avoid dead-stripping rust compiler_builtins atoms#135

Open
glandium wants to merge 1 commit into
tpoechtrager:masterfrom
glandium:rust
Open

Avoid dead-stripping rust compiler_builtins atoms#135
glandium wants to merge 1 commit into
tpoechtrager:masterfrom
glandium:rust

Conversation

@glandium
Copy link
Copy Markdown
Contributor

@glandium glandium commented Jul 5, 2023

No description provided.

// Likewise with rust compiler_builtins atoms. They may come from a libcompiler_builtins-<hash>.a lib, or from a compiler_builtins-... member of a rust static library.
else if ( _haveLLVMObjs && !force && (atom->contentType() != ld::Atom::typeLTOtemporary) ) {
if ( isCompilerSupportLib(atom->safeFilePath()) ) {
if ( isCompilerSupportLib(atom->safeFilePath()) || strstr(atom->safeFilePath(), "compiler_builtins") != nullptr ) ) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Note that I didn't add this check in isCompilerSupportLib because I wasn't sure of the side effects from other code using that function.

moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 11, 2023
…ns atoms. r=firefox-build-system-reviewers,ahochheiden

Sent upstream at tpoechtrager/cctools-port#135.

Differential Revision: https://phabricator.services.mozilla.com/D182833
vinnydiehl pushed a commit to vinnydiehl/mozilla-unified that referenced this pull request Jul 12, 2023
…ns atoms. r=firefox-build-system-reviewers,ahochheiden

Sent upstream at tpoechtrager/cctools-port#135.

Differential Revision: https://phabricator.services.mozilla.com/D182833
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Jul 16, 2023
…ns atoms. r=firefox-build-system-reviewers,ahochheiden

Sent upstream at tpoechtrager/cctools-port#135.

Differential Revision: https://phabricator.services.mozilla.com/D182833

UltraBlame original commit: 03b2eccaf86fbc9cb989ec3d9dfce6e12e827a7e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Jul 16, 2023
…ns atoms. r=firefox-build-system-reviewers,ahochheiden

Sent upstream at tpoechtrager/cctools-port#135.

Differential Revision: https://phabricator.services.mozilla.com/D182833

UltraBlame original commit: 03b2eccaf86fbc9cb989ec3d9dfce6e12e827a7e
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Jul 16, 2023
…ns atoms. r=firefox-build-system-reviewers,ahochheiden

Sent upstream at tpoechtrager/cctools-port#135.

Differential Revision: https://phabricator.services.mozilla.com/D182833

UltraBlame original commit: 03b2eccaf86fbc9cb989ec3d9dfce6e12e827a7e
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…ns atoms. r=firefox-build-system-reviewers,ahochheiden

Sent upstream at tpoechtrager/cctools-port#135.

Differential Revision: https://phabricator.services.mozilla.com/D182833
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.

1 participant