[PATCH] D133003: [WIP][ELF] Parallelize relocation scanning
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 31 01:38:22 PDT 2022
MaskRay created this revision.
MaskRay added reviewers: andrewng, ikudrin, peter.smith.
Herald added subscribers: StephenFan, atanasyan, arichardson, sdardis, emaste.
Herald added a project: All.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
MIPS and PPC64 use global states for relocation scanning. Keep serial
scanning for now.
Speed-up with --threads=8:
- clang -DCMAKE_BUILD_TYPE=Release: 1.08x as fast
- chrome (default): 1.08x as fast
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D133003
Files:
lld/ELF/Arch/AArch64.cpp
lld/ELF/MapFile.cpp
lld/ELF/Relocations.cpp
lld/ELF/Symbols.cpp
lld/ELF/Symbols.h
lld/ELF/SyntheticSections.cpp
lld/ELF/SyntheticSections.h
lld/ELF/Writer.cpp
lld/test/ELF/undef-multi.s
lld/test/ELF/undef.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133003.456893.patch
Type: text/x-patch
Size: 21399 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220831/39bbd499/attachment-0001.bin>
More information about the llvm-commits
mailing list