This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Parallelize output section writing instead of input section writing

Authored by MaskRay on Dec 26 2021, 2:18 AM.



For many synthetic sections, their writeTo functions are not parallel and their parent output section has just one input section.
Parallelizing input section writing does not leverage parallelism well.
Switch to parallelizing output section writing instead.

Seems not useful

Diff Detail

Event Timeline

MaskRay created this revision.Dec 26 2021, 2:18 AM
MaskRay edited the summary of this revision. (Show Details)Dec 28 2021, 1:48 PM
MaskRay edited the summary of this revision. (Show Details)
MaskRay abandoned this revision.Aug 20 2022, 6:01 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 20 2022, 6:01 PM