[PATCH] D159524: [BOLT] Speedup symbol table sort
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 17 13:08:03 PDT 2023
maksfb created this revision.
maksfb added reviewers: jobnoorman, yota9, Amir, ayermolo, rafauler.
Herald added a subscriber: treapster.
Herald added a project: All.
maksfb requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
Memoize SymbolRef::getAddress() for sorting symbol table entries by
their address. Saves about 10 seconds of processing time on large
binaries with over 2 million symbols. NFCI.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D159524
Files:
bolt/lib/Rewrite/RewriteInstance.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D159524.556915.patch
Type: text/x-patch
Size: 5746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230917/b4b363e5/attachment.bin>
More information about the llvm-commits
mailing list