10000 [lldb] Fix task ids in task thread names by kastiglione · Pull Request #10940 · swiftlang/llvm-project · GitHub
[go: up one dir, main page]

Skip to content

[lldb] Fix task ids in task thread names #10940

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

Conversation

kastiglione
Copy link
@kastiglione kastiglione commented Jul 1, 2025

This change ensures that Task Threads have the name Task 1, Task 2, ..., instead of Task 64424509441, Task 64424509442, ...

The fix is to unmask the thread ID to recalculate the original task ID.

rdar://154799101

@kastiglione
Copy link
Author
8000

@swift-ci test

@kastiglione
Copy link
Author

Draft while I add/update tests.

@kastiglione
Copy link
Author

@swift-ci test macOS

@kastiglione kastiglione marked this pull request as ready for review July 1, 2025 19:42
@kastiglione kastiglione requested a review from a team as a code owner July 1, 2025 19:42
@kastiglione
Copy link
Author

@swift-ci test

@kastiglione
Copy link
Author

@swift-ci test windows

@adrian-prantl adrian-prantl merged commit 16a54eb into swift/release/6.2 Jul 2, 2025
3 checks passed
@adrian-prantl adrian-prantl deleted the dl/lldb-Fix-task-ids-in-task-thread-names branch July 2, 2025 22:58
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
0