[llvm] [LLD] Avoid non-deterministic relocations processing. (PR #107186)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 20:45:17 PDT 2024


================
@@ -96,9 +96,8 @@ class TaskGroup {
 
   // Spawn a task, but does not wait for it to finish.
   // Tasks marked with \p Sequential will be executed
-  // exactly in the order which they were spawned.
-  // Note: Sequential tasks may be executed on different
-  // threads, but strictly in sequential order.
+  // exactly in the order which they were spawned and
+  // on the thread with index 0.
----------------
MaskRay wrote:

FTR, the discussion about the "concerning"  behavior is this comment ("I don't think it is a problem as far as correctness, but might be somewhat unexpected.") on https://reviews.llvm.org/D148728

https://github.com/llvm/llvm-project/pull/107186


More information about the llvm-commits mailing list