[all-commits] [llvm/llvm-project] e1be36: [llvm-jitlink] Generalize statistics gathering / r...
lhames via All-commits
all-commits at lists.llvm.org
Wed Jul 19 19:22:52 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e1be36c649937ea2ad487b0122ecc140f1972baf
https://github.com/llvm/llvm-project/commit/e1be36c649937ea2ad487b0122ecc140f1972baf
Author: Lang Hames <lhames at gmail.com>
Date: 2023-07-19 (Wed, 19 Jul 2023)
Changed paths:
M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
M llvm/tools/llvm-jitlink/llvm-jitlink.h
Log Message:
-----------
[llvm-jitlink] Generalize statistics gathering / reporting.
Moves the llvm-jitlink tool statistics out of the Session struct and into a new
LLVMJITLinkStatistics class.
Also removes the `-show-sizes` option. Each statistic added will now have its
own option. The two previous stats (total size of all blocks before pruning and
after fixups) are now available as -pre-prune-total-block-size and
-post-fixup-total-block-size.
This change should make it easier to add new statistics.
More information about the All-commits
mailing list