[PATCH] D105280: [2/2][RemoveRedundantDebugValues] Introduce a MIR pass that removes redundant DBG_VALUEs
Djordje Todorovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 2 03:06:37 PDT 2021
djtodoro added a comment.
llvm-locstats numbers (on the gdb-7.11 binary compiled with -g -O2)
$ llvm-locstats ./gdb-before-the-patch
=================================================
Debug Location Statistics
=================================================
cov% samples percentage(~)
-------------------------------------------------
0% 2517 2%
(0%,10%) 5849 5%
[10%,20%) 4992 4%
[20%,30%) 4886 4%
[30%,40%) 4468 4%
[40%,50%) 4127 4%
[50%,60%) 4535 4%
[60%,70%) 4670 4%
[70%,80%) 5529 5%
[80%,90%) 6257 6%
[90%,100%) 10197 9%
100% 44979 43%
=================================================
-the number of debug variables processed: 103006
-PC ranges covered: 57%
-------------------------------------------------
-total availability: 86%
=================================================
bash-4.2$ ../../build/bin/llvm-locstats --ignore-debug-entry-values ./gdb-before-the-patch
=================================================
Debug Location Statistics
=================================================
cov% samples percentage(~)
-------------------------------------------------
0% 2517 2%
(0%,10%) 6898 6%
[10%,20%) 6008 5%
[20%,30%) 5870 5%
[30%,40%) 5347 5%
[40%,50%) 4971 4%
[50%,60%) 5316 5%
[60%,70%) 5241 5%
[70%,80%) 6147 5%
[80%,90%) 6826 6%
[90%,100%) 12995 12%
100% 34870 33%
=================================================
-the number of debug variables processed: 103006
-PC ranges covered: 54%
-------------------------------------------------
-total availability: 86%
=================================================
$ llvm-locstats ./gdb-after-the-patch
=================================================
Debug Location Statistics
=================================================
cov% samples percentage(~)
-------------------------------------------------
0% 2517 2%
(0%,10%) 5847 5%
[10%,20%) 4991 4%
[20%,30%) 4887 4%
[30%,40%) 4470 4%
[40%,50%) 4126 4%
[50%,60%) 4535 4%
[60%,70%) 4667 4%
[70%,80%) 5528 5%
[80%,90%) 6258 6%
[90%,100%) 10176 9%
100% 45004 43%
=================================================
-the number of debug variables processed: 103006
-PC ranges covered: 57%
-------------------------------------------------
-total availability: 86%
=================================================
$ llvm-locstats --ignore-debug-entry-values ./gdb-after-the-patch
=================================================
Debug Location Statistics
=================================================
cov% samples percentage(~)
-------------------------------------------------
0% 2517 2%
(0%,10%) 6897 6%
[10%,20%) 6009 5%
[20%,30%) 5869 5%
[30%,40%) 5350 5%
[40%,50%) 4969 4%
[50%,60%) 5317 5%
[60%,70%) 5239 5%
[70%,80%) 6147 5%
[80%,90%) 6827 6%
[90%,100%) 12995 12%
100% 34870 33%
=================================================
-the number of debug variables processed: 103006
-PC ranges covered: 54%
-------------------------------------------------
-total availability: 86%
=================================================
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105280/new/
https://reviews.llvm.org/D105280
More information about the llvm-commits
mailing list