[llvm] [LLD] Avoid non-deterministic relocations processing. (PR #107186)
Alexey Lapshin via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 12 22:48:57 PDT 2024
================
@@ -113,7 +113,7 @@ class ThreadPoolExecutor : public Executor {
private:
bool hasSequentialTasks() const {
- return !WorkQueueSequential.empty() && !SequentialQueueIsLocked;
+ return !WorkQueueSequential.empty() && (getThreadIndex() == 0);
----------------
avl-llvm wrote:
excuse me for the delay. I am working on this issue.
Yes, we can change the implementation to guarantee that no tasks would be missed. Will submit changes.
https://github.com/llvm/llvm-project/pull/107186
More information about the llvm-commits
mailing list