Skip to content
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

Add support for TLS imports/exports to/from DSOs #14971

Merged
merged 1 commit into from
Sep 17, 2021
Merged

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Aug 30, 2021

This change is based on the recently added EXPORT_INFO metadata that tells
the dynamic linker which exports are TLS exports and which are normal data
exports: https://reviews.llvm.org/D108877

@sbc100 sbc100 changed the title WIP: Inter-module TLS support Inter-module TLS support Sep 15, 2021
@sbc100 sbc100 changed the title Inter-module TLS support ]Add support for TLS imports/exports to/from DSOs Sep 15, 2021
@sbc100 sbc100 changed the title ]Add support for TLS imports/exports to/from DSOs Add support for TLS imports/exports to/from DSOs Sep 15, 2021
@sbc100 sbc100 requested review from kripken and dschuff September 15, 2021 13:10
@sbc100 sbc100 force-pushed the tls_dso_export branch 2 times, most recently from 4840a56 to a5ec6ba Compare September 16, 2021 15:03
@sbc100
Copy link
Collaborator Author

sbc100 commented Sep 16, 2021

All tests now passing. ptal

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

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

I don't have a deep understanding of the TLS side of things here. But looks good otherwise at a high level, aside from comments.

This change is based on the recently added EXPORT_INFO metadata that tells
the dynamic linker which exports are TLS exports and which are normal data
exports: https://reviews.llvm.org/D108877
@sbc100 sbc100 enabled auto-merge (squash) September 16, 2021 22:39
@sbc100 sbc100 merged commit 06dcec6 into main Sep 17, 2021
@sbc100 sbc100 deleted the tls_dso_export branch September 17, 2021 00:40
sbc100 added a commit that referenced this pull request Oct 25, 2021
The underlying bug that caused this configuration
not to work (lack of TLS import/export) was fixed
in #14971.

Fixes: #14461
sbc100 added a commit that referenced this pull request Oct 26, 2021
The underlying bug that caused this configuration
not to work (lack of TLS import/export) was fixed
in #14971.

Fixes: #14461
sbc100 added a commit that referenced this pull request Oct 26, 2021
The underlying bug that caused this configuration
not to work (lack of TLS import/export) was fixed
in #14971.

Fixes: #14461
sbc100 added a commit that referenced this pull request Oct 26, 2021
The underlying bug that caused this configuration
not to work (lack of TLS import/export) was fixed
in #14971.

Fixes: #14461
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.

3 participants