Skip to content

[lldb] Fix TLS support on Darwin platforms #11116

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
Aug 5, 2025

Conversation

bulbazord
Copy link

When I wrote this previously, I was unaware that the TLS function already adds the offset. The test was working previously because the offset was 0 in this case (only 1 thread-local variable). I added another thread-local variable to the test to make sure the offset is indeed handled correctly.

rdar://156547548
(cherry picked from commit a27d34b)

When I wrote this previously, I was unaware that the TLS function
already adds the offset. The test was working previously because the
offset was 0 in this case (only 1 thread-local variable). I added
another thread-local variable to the test to make sure the offset is
indeed handled correctly.

rdar://156547548
(cherry picked from commit a27d34b)
@bulbazord bulbazord requested a review from a team as a code owner August 4, 2025 21:37
@bulbazord
Copy link
Author

@swift-ci please test

@bulbazord
Copy link
Author

@swift-ci please test windows platform

@bulbazord bulbazord changed the title [lldb] Fix TLS support on Darwin platforms (#151601) [lldb] Fix TLS support on Darwin platforms Aug 5, 2025
@JDevlieghere JDevlieghere merged commit 6d11ac3 into swiftlang:stable/20240723 Aug 5, 2025
2 of 3 checks passed
@bulbazord bulbazord deleted the 20240723-tls-fix branch August 5, 2025 18:11
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