[all-commits] [llvm/llvm-project] f57090: [lld/mac] Cache file IDs of symbols in emitStabs f...
Michael Eisel via All-commits
all-commits at lists.llvm.org
Wed Jun 1 11:51:48 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f5709066e3b05b27eb95b8b42d9d01daca48d93c
https://github.com/llvm/llvm-project/commit/f5709066e3b05b27eb95b8b42d9d01daca48d93c
Author: Michael Eisel <michael.eisel at gmail.com>
Date: 2022-06-01 (Wed, 01 Jun 2022)
Changed paths:
M lld/MachO/SyntheticSections.cpp
Log Message:
-----------
[lld/mac] Cache file IDs of symbols in emitStabs for faster sorting
This reduces the time emitStabs() takes by about 275ms, or 3% of overall
linking time for the project I'm on. Although the parent function is run in
parallel, it's one of the slowest tasks in that concurrent batch (I have
another optimization for another slow task as well).
Differential Revision: https://reviews.llvm.org/D126785
More information about the All-commits
mailing list