| ... | ... | @@ -111,8 +111,8 @@ void CodeSection::writeTo(uint8_t *Buf) { |
| 111 | 111 | memcpy(Buf, CodeSectionHeader.data(), CodeSectionHeader.size()); |
| 112 | 112 | |
| 113 | 113 | // Write code section bodies |
| 114 | | parallelForEach(Functions, |
| 115 | | [&](const InputChunk *Chunk) { Chunk->writeTo(Buf); }); |
| 114 | for (const InputChunk *Chunk : Functions) |
| 115 | Chunk->writeTo(Buf); |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | uint32_t CodeSection::numRelocations() const { |
| ... | ... | @@ -176,7 +176,7 @@ void DataSection::writeTo(uint8_t *Buf) { |
| 176 | 176 | // Write data section headers |
| 177 | 177 | memcpy(Buf, DataSectionHeader.data(), DataSectionHeader.size()); |
| 178 | 178 | |
| 179 | | parallelForEach(Segments, [&](const OutputSegment *Segment) { |
| 179 | for (const OutputSegment *Segment : Segments) { |
| 180 | 180 | // Write data segment header |
| 181 | 181 | uint8_t *SegStart = Buf + Segment->SectionOffset; |
| 182 | 182 | memcpy(SegStart, Segment->Header.data(), Segment->Header.size()); |
| ... | ... | @@ -184,7 +184,7 @@ void DataSection::writeTo(uint8_t *Buf) { |
| 184 | 184 | // Write segment data payload |
| 185 | 185 | for (const InputChunk *Chunk : Segment->InputSegments) |
| 186 | 186 | Chunk->writeTo(Buf); |
| 187 | | }); |
| 187 | } |
| 188 | 188 | } |
| 189 | 189 | |
| 190 | 190 | uint32_t DataSection::numRelocations() const { |
| ... | ... | @@ -232,8 +232,8 @@ void CustomSection::writeTo(uint8_t *Buf) { |
| 232 | 232 | Buf += NameData.size(); |
| 233 | 233 | |
| 234 | 234 | // Write custom sections payload |
| 235 | | parallelForEach(InputSections, |
| 236 | | [&](const InputSection *Section) { Section->writeTo(Buf); }); |
| 235 | for (const InputSection *Section : InputSections) |
| 236 | Section->writeTo(Buf); |
| 237 | 237 | } |
| 238 | 238 | |
| 239 | 239 | uint32_t CustomSection::numRelocations() const { |