diff options
| -rw-r--r-- | lld/COFF/ICF.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/ICF.cpp b/lld/COFF/ICF.cpp index 43d4a5f8789..7a0ff405649 100644 --- a/lld/COFF/ICF.cpp +++ b/lld/COFF/ICF.cpp @@ -73,7 +73,7 @@ private: bool forEachGroup(std::vector<SectionChunk *> &Chunks, Comparator Eq); bool partition(ChunkIterator Begin, ChunkIterator End, Comparator Eq); - uint64_t NextID = 1; + std::atomic<uint64_t> NextID = { 1 }; }; // Entry point to ICF. |

