Skip to content

[ELF] Move Symbol::used to atomic flags field#190117

Merged
MaskRay merged 1 commit into
llvm:mainfrom
MaskRay:users/MaskRay/lld-used-1
Apr 2, 2026
Merged

[ELF] Move Symbol::used to atomic flags field#190117
MaskRay merged 1 commit into
llvm:mainfrom
MaskRay:users/MaskRay/lld-used-1

Conversation

@MaskRay

@MaskRay MaskRay commented Apr 2, 2026

Copy link
Copy Markdown
Member

Move the used bitfield into the existing std::atomic<uint16_t> flags,
making it safe for concurrent access from parallel GC mark (#189321).

Move the `used` bitfield into the existing `std::atomic<uint16_t> flags`,
making it safe for concurrent access from parallel GC mark (llvm#189321).
@MaskRay MaskRay added the skip-precommit-approval PR for CI feedback, not intended for review label Apr 2, 2026
@MaskRay MaskRay merged commit 6a87416 into llvm:main Apr 2, 2026
7 of 12 checks passed
zwu-2025 pushed a commit to zwu-2025/llvm-project that referenced this pull request May 17, 2026
Move the `used` bitfield into the existing `std::atomic<uint16_t>
flags`,
making it safe for concurrent access from parallel GC mark (llvm#189321).
nga888 added a commit to nga888/llvm-project that referenced this pull request Jun 9, 2026
On the "main" branch, Symbol no longer has the `used` member which was
moved in PR llvm#190117 (commit 6a87416). Therefore, when the cherry pick
from PR llvm#198129 (commit 905a88b) was merged to the "release/22.x"
branch, the initialization of `used` was lost.
dyung pushed a commit to nga888/llvm-project that referenced this pull request Jun 10, 2026
On the "main" branch, Symbol no longer has the `used` member which was
moved in PR llvm#190117 (commit 6a87416). Therefore, when the cherry pick
from PR llvm#198129 (commit 905a88b) was merged to the "release/22.x"
branch, the initialization of `used` was lost.
daunabomba pushed a commit to daunabomba/llvm-project that referenced this pull request Jun 17, 2026
On the "main" branch, Symbol no longer has the `used` member which was
moved in PR llvm#190117 (commit 6a87416). Therefore, when the cherry pick
from PR llvm#198129 (commit 905a88b) was merged to the "release/22.x"
branch, the initialization of `used` was lost.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:Hexagon lld:ELF lld skip-precommit-approval PR for CI feedback, not intended for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants