summaryrefslogtreecommitdiff
path: root/lld/ELF/Relocations.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/Relocations.cpp')
-rw-r--r--lld/ELF/Relocations.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lld/ELF/Relocations.cpp b/lld/ELF/Relocations.cpp
index bda979c3066a..2f7fcd664c6a 100644
--- a/lld/ELF/Relocations.cpp
+++ b/lld/ELF/Relocations.cpp
@@ -1537,9 +1537,6 @@ template <class ELFT> void elf::scanRelocations() {
tg.spawn(fn, serial);
}
- // Both the main thread and thread pool index 0 use getThreadIndex()==0. Be
- // careful that they don't concurrently run scanSections. When serial is
- // true, fn() has finished at this point, so running execute is safe.
tg.spawn([] {
RelocationScanner scanner;
for (Partition &part : partitions) {