Previously we do symbolization for all the functions and actually we only need the symbols that's hit by the samples.
This can significantly speed up the time for large size binary.
Optimization for per-inliner will come along with next patch.
Paths
| Differential D110465
[llvm-profgen] On-demand symbolization ClosedPublic Authored by wlei on Sep 24 2021, 7:10 PM.
Details
Summary Previously we do symbolization for all the functions and actually we only need the symbols that's hit by the samples. This can significantly speed up the time for large size binary. Optimization for per-inliner will come along with next patch.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 26 2021, 8:26 PM
This revision was landed with ongoing or failed builds.Sep 28 2021, 9:10 AM Closed by commit rG091c16f76ba1: [llvm-profgen] On-demand symbolization (authored by wlei). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 375599 llvm/tools/llvm-profgen/PerfReader.h
llvm/tools/llvm-profgen/ProfiledBinary.h
llvm/tools/llvm-profgen/ProfiledBinary.cpp
|
We don't seem to use the size (value of the map)?