Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion llvm/lib/DWARFLinker/Parallel/ArrayList.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ template <typename T, size_t ItemsGroupSize = 512> class ArrayList {
NewGroup->Next = nullptr;

// Try to replace current group with allocated one.
if (AtomicGroup.compare_exchange_weak(CurGroup, NewGroup))
if (AtomicGroup.compare_exchange_strong(CurGroup, NewGroup))
return true;

// Put allocated group as last group.
Expand Down